1:查看防火墙状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld ser
systemctl status firewalld
service iptables status
systemctl stop firewalld
service iptables stop
systemctl disable firewalld
chkconfig iptables off
已永久关闭状态:
systemctl enable firewalld
service iptables restart
//暂时还没有试过
chkconfig iptables on
来源地址:https://blog.csdn.net/Myx74270512/article/details/127938415
--结束END--
本文标题: Linux关闭防火墙命令(永久关闭、暂时关闭、重启防火墙)
本文链接: https://www.lsjlt.com/news/404708.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0