`
zhangfeilo
  • 浏览: 402698 次
  • 性别: Icon_minigender_1
  • 来自: 昆明
社区版块
存档分类
最新评论

Linux防火墙关闭

 
阅读更多
service iptables status可以查看到iptables服务的当前状态。
但是即使服务运行了,防火墙也不一定起作用,你还得看防火墙规则的设置 iptables  -L
在此说一下关于启动和关闭防火墙的命令:
        1) 重启后生效
        开启: chkconfig iptables on
        关闭: chkconfig iptables off
        2) 即时生效,重启后失效
        开启: service iptables start
        关闭: service iptables stop
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics