1.查看防火墙状态
firewall-cmd --state
2.停止firewall
systemctl stop firewalld.service
3.禁止firewall开机启动
systemctl disable firewalld.service
centos7关闭防火墙
原文:https://www.cnblogs.com/df-xfz/p/11068449.html