CentOS 7 查看防火墙状态
CentOS 7.0默认使用的是firewall作为防火墙
查看防火墙状态
firewall-cmd --state

running表示防火墙已经开启
停止firewall
systemctl stop firewalld.service

表示已经关闭
禁止firewall开机启动
systemctl disable firewalld.service
CentOS 7.0默认使用的是firewall作为防火墙
查看防火墙状态
firewall-cmd --state

running表示防火墙已经开启
停止firewall
systemctl stop firewalld.service

表示已经关闭
禁止firewall开机启动
systemctl disable firewalld.service