查看防火墙
service iptables status
关闭防火墙
service iptables stop
查看防火墙开机启动状态
chkconfig iptables --list
关闭防火墙开机启动
chkconfig iptables off
CentOS7关闭防火墙是systemctl stop firewalld,永久关闭时systemctl disabled firewalld