Difference between revisions of "The Red Hat firewall"

From MyWiki
Jump to: navigation, search
Line 7: Line 7:
 
  systemctl disable firewalld
 
  systemctl disable firewalld
 
  systemctl enable firewalld
 
  systemctl enable firewalld
 +
firewall-cmd

Revision as of 10:50, 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
firewall-cmd