User Tools

Site Tools


networking:firewall:firewalld

This is an old revision of the document!


FirewallD

https://fedoraproject.org/wiki/FirewallD

FirewallD is the default firewall implementation on CentOS 7.

firewall-cmd --help

Firewall Status and Control

firewall-cmd --state

firewall-cmd --reload

firewall-cmd --complete-reload

firewall-cmd --get-zones

firewall-cmd --get-default-zone

firewall-cmd --get-services

firewall-cmd --get-services

firewall-cmd --get-icmptypes

firewall-cmd --list-all-zones

firewall-cmd --zone=public --list-all

Allow a Service

Allow HTTP and HTTPS to a web server:

firewall-cmd --permanent --zone=public --add-service=http --add-service=https
networking/firewall/firewalld.1416603019.txt.gz · Last modified: 2014/11/21 13:50 by gcooper