Linux Centos 7 有关防火墙命令

看所有网卡IP地址——ip addr

 

启动防火墙——systemctl start firewalld.service

 

停止防火墙——systemctl stop firewalld.service


查看firewalld防火墙状态——firewall-cmd --state

 

禁止防火墙开机启动——systemctl disable firewalld.service

 

猜你喜欢

转载自blog.csdn.net/qq_35663708/article/details/80563477