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