首页 > 系统服务 > 详细

Linux 关闭iptable防火墙

时间:2016-04-11 14:36:28      阅读:220      评论:0      收藏:0      [点我收藏+]

  做为初学者使用Linux时都会关闭自带的防火墙。

下面是操作过程以Centos6.5为例:

[root@zdw ~]# /etc/init.d/iptables stop         //关闭
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
[root@zdw ~]# /etc/init.d/iptables stop         //重复执行确认关闭
[root@zdw ~]# chkconfig iptables off            //关闭开机自启动,3表示文本模式
[root@zdw ~]# chkconfig --list|grep ipta
iptables        0:off   1:off   2:off   3:off   4:off   5:off   6:off


参考:

老男孩Linux

本文出自 “写给自己的博客” 博客,请务必保留此出处http://zhaodongwei.blog.51cto.com/4233742/1762526

Linux 关闭iptable防火墙

原文:http://zhaodongwei.blog.51cto.com/4233742/1762526

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!