Firewall daemon - connorethanjay/Champlain-College-CNCS-Notes GitHub Wiki
Firewalld
- Firewall daemon | firewall-cmd is the command line client for firewalld and provides a method to manage the configurations.
- firewall-cmd --list-all (run as sudouser) shows the default firewall rules.
Commands we need to know for firewall-cmd
- firewall-cmd
- --list-all
- --reload
- --add-service=(blank)
- --add-service=(blank) --permanent
- --add-port="port"/"protocol"
- --add-port=80/tcp (example of http)