【linux】centos7 关闭防火墙

CentOS 7 默认使用的是firewall作为防火墙

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service 
原文地址:https://www.cnblogs.com/cnyws/p/13853960.html