您的位置:首页 > 运维架构 > Linux

Linux关闭防火墙命令

2018-02-12 21:08 239 查看

问题:老是关闭防火墙太麻烦,所以选择彻底关闭防火墙,发现每次都记不住命令!

下面是red hat/CentOs7关闭防火墙的命令!
1:查看防火状态
systemctl status firewalld
service  status iptables 
2:暂时关闭防火墙
systemctl stop firewalld

[b]service  stop iptables
[/b]
3:永久关闭防火墙
systemctl disable firewalld

[b]chkconfig iptables off[/b]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: