一、查看防火墙状态
systemctl status firewalld
service iptables status
二、暂时关闭防火墙
systemctl stop firewalld
service iptables stop
三、永久关闭防火墙
systemctl disable firewalld
chconfig iptables off
四、重启防火墙
systemctl enable firewalld
service iptables restart
五、永久关闭后重启
chkconfig iptables on//还没有尝试过该命令