centos防火墙firewalld常用命令备忘
centos防火墙firewalld常用命令备忘
1
2
3
4
firewall-cmd --state //查看firewalld运行信息
systemctl stop firewalld //关闭firewalld
systemctl disable firewalld //禁止firewalld开机启动
systemctl mask --now firewalld //禁止其它应用服务程序启动firewalld
centos防火墙firewalld常用命令备忘
1
2
3
4
firewall-cmd --state //查看firewalld运行信息
systemctl stop firewalld //关闭firewalld
systemctl disable firewalld //禁止firewalld开机启动
systemctl mask --now firewalld //禁止其它应用服务程序启动firewalld