Redhat Linux7怎么用命令关闭防火墙
2017-05-05
相关话题
Redhat Linux 7 发布后,防火墙变了,那么如何使用命令关闭防火墙呢?下面就让小编教大家Redhat Linux7怎么用命令关闭防火墙吧。
Redhat Linux7用命令关闭防火墙的方法
获得root 控制权限。在“#”下操作。

查看防火墙状态。
systemctl status firewalld

临时关闭防火墙命令。重启电脑后,防火墙自动起来。
systemctl stop firewalld

永久关闭防火墙命令。重启后,防火墙不会自动启动。
systemctl disable firewalld

打开防火墙命令。
systemctl enable firewalld
