CentOS 7 关闭防火墙

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

查看防火墙状态

firewall-cmd --state1

停止firewall

systemctl stop firewalld.service1

禁止firewall开机启动

systemctl disable firewalld.service 
posted @ 2020-07-06 22:31  sxblog  阅读(106)  评论(0编辑  收藏  举报