CentOS 7.0关闭防火墙

1、关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)

 

posted @ 2017-04-14 11:13  逍遥无名  阅读(127)  评论(0编辑  收藏  举报