查看防火墙状态
firewall-cmd --state
开启防火墙
systemctl start firewalld.service
关闭防火墙
systemctl stop firewalld.service
centos7有关于防火墙的命令
最新推荐文章于 2024-08-16 22:20:49 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
查看防火墙状态
firewall-cmd --state
开启防火墙
systemctl start firewalld.service
关闭防火墙
systemctl stop firewalld.service