关闭防火墙命令(CentOS 6.x与7.x)

在CentOS 6.x中,关闭防火墙命令为 

service iptables stop
chkconfig iptables off

在CentOS 7.x中,关闭防火墙命令为 

systemctl stop firewalld.service
systemctl disable firewalld.service

猜你喜欢

转载自blog.csdn.net/qq_38890412/article/details/106974629
今日推荐