centos7安装后的防火墙问题

centos7 默认使用firewall作为防火墙

停止并关闭开机自启动:

systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
posted @ 2016-11-01 17:34  fwindpeak  阅读(247)  评论(0编辑  收藏  举报