Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Firewalldhttps://www.youtube.com/watch?v=T2g6nxRCnLQ&ab_channel=NetSecProf

firewall-cmd --list-allall  (default zone= public )


Services
list all services availablefirewall-cmd --get-services
add service to a zonefirewall-cmd --add-service-https    ( will add to the default zone= public or "untrusted")
add permanent servicefirewall-cmd --add-service-https  --permanent
create service


Ports
add portfirewall-cmd --get-ports
add permanent port


Zones
show list zonesfirewall-cmd --get-zones
zones config infofirewall-cmd --zone=home --list-all
add zones
create zone


NAT or masquarade




...