下面是red hat/CentOs7关闭防火墙的命令!
systemctl status firewalld
service iptables status
systemctl stop firewalld
service iptables stop
systemctl disable firewalld
chkconfig iptables off
systemctl enable firewalld
service iptables restart
chkconfig iptables on