发新话题
打印

linux firewalld常用命令

linux firewalld常用命令

systemctl enable firewalld

systemctl disable firewalld

systemctl start firewalld

systemctl stop firewalld

systemctl status firewalld

firewall-cmd --state

firewall-cmd --list-all

#停止firewall
systemctl stop firewalld.service

#禁止firewall开机启动
systemctl disable firewalld.service

#查看iptabels规则
iptables -L

TOP

发新话题