centos7安装后的防火墙问题

centos7 默认使用firewall作为防火墙

停止并关闭开机自启动:

systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
原文地址:https://www.cnblogs.com/fwindpeak/p/6020307.html