CentOS 7.0默认使用的是firewall作为防火墙

#查看防火墙状态
firewall-cmd --state

#停止防火墙
systemctl stop firewalld.service

#禁止开机启动
systemctl disable firewalld.service