linux论如何有效的关闭系统默认防火墙

服务器 ayflying 2128℃ 评论

经常遇到各种打不开的情况,可能就是防火墙在捣鬼,停止之后重启还会再次启动,如果是禁用就永久干掉防火墙了。

centos 7:

systemctl stop firewalld.service #停止
systemctl disable firewalld.service #禁用


之前的版本:

service iptables stop #停止
chkconfig iptables off #禁用


转载请注明:七彩悠悠博客 | 心悠悠 情悠悠 » linux论如何有效的关闭系统默认防火墙

高效,专业,悠悠博客

联系我们