查看防火墙状态:
systemctl status firewalld.service
停止防火墙服务
systemctl stop firewalld.service
systemctl disable firewalld.service 禁用防火墙自动启动
如果想开启防火墙的服务,则输入如下命令:
systemctl enable firewalld.service
systemctl start firewalld.service
查看防火墙状态:
systemctl status firewalld.service
停止防火墙服务
systemctl stop firewalld.service
systemctl disable firewalld.service 禁用防火墙自动启动
如果想开启防火墙的服务,则输入如下命令:
systemctl enable firewalld.service
systemctl start firewalld.service
评论