临时关闭:
1、查看防火墙状态使用命令:systemctl status firewalld.service
执行后可以看到绿色字样标注的“active(running)”,说明防火墙是开启状态
2、关闭运行的防火墙使用命令:systemctl stop firewalld.service
3、关闭后,使用命令systemctl status firewalld.service
查看防火墙状态
可以看到,disavtive(dead)的字样,说明防火墙已经关闭
重启后防火墙仍运行
4、输入命令:systemctl disable firewalld.service,禁止防火墙服务器
来源:百度经验:https://jingyan.baidu.com/article/ff42efa9fd8c1cc19e2202bb.html