1: View the status of fire
systemctl status firewalld
service iptables status
2: Temporarily turn off the firewall
systemctl stop firewalld
service iptables stop
3: Permanently turn off the firewall
systemctl disable firewalld chkconfig iptables off
4: Restart the firewall
systemctl enable firewalld
service iptables restart
5: permanently closed after restart
chkconfig iptables on