Centos7

// 临时关闭防火墙
systemctl stop firewalld
 
// 禁止开机启动防火墙
systemctl disable firewalld

Centos6

// 临时关闭防火墙
service iptables stop
 
// 禁止开机启动防火墙
chkconfig iptables off


如果觉得我的文章对你有用,请随意赞赏

本文标题:Centos关闭防火墙

本文链接:https://oior.net/archives/58.html

除非另有说明,本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

声明:转载请注明文章来源。