CentOS 7.2如何关闭系统防火墙

服务器技术 2020-06-15 16:16:51 33

导读

停止firewall服务systemctl stop firewalld.service禁止firewall开机启动systemctl disable firewalld.service1、关闭防火墙:systemctl stop firewalld.service2、开启防火墙:systemctl start firewalld.service3、关闭开机启动:……

停止firewall服务

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

1、关闭防火墙:

systemctl stop firewalld.service

2、开启防火墙:

systemctl start firewalld.service

3、关闭开机启动:

systemctl disable firewalld.service

4、开启开机启动:

systemctl enable firewalld.service


1253067 TFnetwork_cn