centOS 6 和centOS 7 防火墙指令
centOS 6
service iptables status 查看防火墙状态
service iptables stop 关闭防火墙
chkconfig iptables off永久关闭防火墙
centOS 7
systemctl status firewalld.service 查看防火墙状态
systemctl stop firewalld.service 关闭防火墙
systemctl disable firewalld.service 禁止firewall开机启动