Centos7.7关闭防火墙,如何关闭centos防火墙

浏览606

1、查看防火墙状态

systemctl status firewalld.service

2、关闭防火墙

systemctl stop firewalld.service

3、然后再使用命令systemctl status firewalld.service,在下方出现disavtive(dead),这样就说明防火墙已经关闭。

4、再在命令行中输入命令“systemctl disable firewalld.service”命令,即可永久关闭防火墙。

systemctl disable firewalld.service



  • 暂无任何回答