centos7查看防火墙状态

centos7怎么查看、打开和关闭防火墙

发布 : Linux培训   发布时间:2022-03-08 11:33:15

品牌型号:联想 YOGA 14c/系统版本:windows7

centos7查看防火墙状态的命令为:systemctl status firewalld。

其他常用的防火墙命令:

开机启用防火墙命令:systemctl enable firewalld.service。

开机禁用防火墙命令:systemctl disable firewalld.service。

启动防火墙命令:systemctl start firewalld。

关闭防火墙命令:systemctl stop firewalld。

其它答案
冰阔落2020-06-22 18:56:36

centOS7 查看防火墙状态的命令为:sudo systemctl status firewalld。