Difference between revisions of "The Red Hat firewall"
From MyWiki
Line 2: | Line 2: | ||
The configuration for firewalld is stored in various XML files in /usr/lib/firewalld/ and /etc/firewalld/. This allows a great deal of flexibility as the files can be edited, written to, backed up, used as templates for other installations and so on.<br> | The configuration for firewalld is stored in various XML files in /usr/lib/firewalld/ and /etc/firewalld/. This allows a great deal of flexibility as the files can be edited, written to, backed up, used as templates for other installations and so on.<br> | ||
systemctl status firewalld<br> | systemctl status firewalld<br> | ||
+ | iptables-save | ||
+ | service firewalld stop | ||
+ | service firewalld start | ||
+ | systemctl disable firewalld | ||
+ | systemctl enable firewalld |
Revision as of 10:48, 12 May 2016
less /etc/sysconfig/system-config-firewall
The configuration for firewalld is stored in various XML files in /usr/lib/firewalld/ and /etc/firewalld/. This allows a great deal of flexibility as the files can be edited, written to, backed up, used as templates for other installations and so on.
systemctl status firewalld
iptables-save service firewalld stop service firewalld start systemctl disable firewalld systemctl enable firewalld