温馨提示×

Linux怎么关闭防火墙

发布时间:2022-01-27 13:38:40 来源:亿速云 阅读:112 作者:iii 栏目:开发技术

这篇文章主要介绍“Linux怎么关闭防火墙”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“Linux怎么关闭防火墙”文章能帮助大家解决问题。

Linux怎么关闭防火墙

1:查看防火状态

systemctl status firewalld

service  iptables status

Linux怎么关闭防火墙

2:暂时关闭防火墙

systemctl stop firewalld

service  iptables stop

Linux怎么关闭防火墙

3:永久关闭防火墙

systemctl disable firewalld

chkconfig iptables off

4:重启防火墙

systemctl enable firewalld

service iptables restart  

5:永久关闭后重启

//暂时还没有试过

chkconfig iptables on 

关于“Linux怎么关闭防火墙”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注亿速云行业资讯频道,小编每天都会为大家更新不同的知识点。

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。