yum install iptables-services systemctl mask firewalld.service systemctl enable iptables.service systemctl enable ip6tables.service
systemctl stop firewalld.service systemctl start iptables.service systemctl start ip6tables.service
firewall-cmd --state
firewall-cmd --state && echo "Running" || echo "Not running"
# rpm -qf $( which firewall-cmd ) firewalld-0.3.3-2.fc19.noarch# firewall-cmd --state not running
firewall-cmd --reload
firewall-cmd --get-zones
firewall-cmd --get-services
firewall-cmd --get-icmptypes
firewall-cmd --list-all-zones
interfaces: .. services: .. ports: .. forward-ports: .. icmp-blocks: ....
firewall-cmd [--zone=] --list-all
firewall-cmd --get-default-zone
firewall-cmd --set-default-zone=
firewall-cmd --get-active-zones
: ..: ..
firewall-cmd --get-zone-of-interface=
firewall-cmd [--zone=] --add-interface=
firewall-cmd [--zone=] --change-interface=
|