1:查看防火状态rest
systemctl status firewalldip
service iptables statustable
2:暂时关闭防火墙iptables
systemctl stop firewalldservice
service iptables stop防火墙
3:永久关闭防火墙top
systemctl disable firewalldtab
chkconfig iptables offdi
4:重启防火墙vi
systemctl enable firewalld
service iptables restart