CentOS7.5查看防火墙状态,启动,关闭防火墙

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_38712932/article/details/83999914

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

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

启动firewall

禁止firewall开机启动

systemctl disable firewalld.service 

猜你喜欢

转载自blog.csdn.net/qq_38712932/article/details/83999914
今日推荐