下面是red hat/CentOs7關閉防火牆的命令!rest
1:查看防火狀態ip
systemctl status firewalldtable
service iptables statusiptables
2:暫時關閉防火牆service
systemctl stop firewalld防火牆
service iptables stoptop
3:永久關閉防火牆tab
systemctl disable firewallddi
chkconfig iptables offvi
4:重啓防火牆
systemctl enable firewalld
service iptables restart
5:永久關閉後重啓
//暫時尚未試過
chkconfig iptables on