阿里云- CentOS8 查看及禁用防火墙

作者:zheng_Great 2020-04-05 4515次

1:查看防火墙状态

systemctl status firewalld.service

2:关闭防火墙命令

systemctl stop firewalld.service

3:启动防火墙

systemctl start firewalld.service


4:禁止防火墙自启动

systemctl disable firewalld.service


5:防火墙随系统开启自启动 

systemctl enable firewalld.service



原文链接:https://jingyan.baidu.com/article/574c5219e5ac322c8c9dc13f.html