CentOS7查看和关闭防火墙

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

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service 
分享所感,如有侵权,请联系删除,可扫码关注微信公众号获取更多福利噢。
(您的“打赏”将是我最大的写作动力!转载请注明出处.)

关注微信公众号

原文地址:https://www.cnblogs.com/pengpengdeyuan/p/14844324.html