免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5141 | 回复: 7
打印 上一主题 下一主题

新手简单问题, 如何关掉 iptables ?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-12 22:38 |只看该作者 |倒序浏览
CentOS 5.1
安装后 iptables 自动开启
我想永久把他关掉,当然包括开机时不运行 iptables

感谢 !!!

论坛徽章:
0
2 [报告]
发表于 2008-01-13 01:17 |只看该作者
用root用户登陆然后输入命令
[root@Map ~]# service iptables stop
[root@Map ~]# chkconfig iptables off
[root@Map ~]# chkconfig --list |grep iptables
iptables        0ff   1ff   2ff   3ff   4ff   5ff   6ff
这就表示关了,如果你想再次启动的话就
[root@Map ~]# chkconfig iptables on
[root@Map ~]# chkconfig --list |grep iptables
iptables        0ff   1ff   2n   3:on   4:on   5:on   6:off
这就可以看到再2 3 4 5 启动顺序上开机自启动iptables这个服务。

论坛徽章:
0
3 [报告]
发表于 2008-01-13 01:18 |只看该作者
用root用户登陆然后输入命令
[root@Map ~]# service iptables stop
[root@Map ~]# chkconfig iptables off
[root@Map ~]# chkconfig --list |grep iptables
iptables        0ff   1ff   2ff   3ff   4ff   5ff   6ff
这就表示关了,如果你想再次启动的话就
[root@Map ~]# chkconfig iptables on
[root@Map ~]# chkconfig --list |grep iptables
iptables        0ff   1ff   2n   3:on   4:on   5:on   6:off
这就可以看到再2 3 4 5 启动顺序上开机自启动iptables这个服务。

论坛徽章:
0
4 [报告]
发表于 2008-01-13 01:19 |只看该作者
怎么老是把我的回复贴上笑脸!镇郁闷!

论坛徽章:
0
5 [报告]
发表于 2008-01-13 09:12 |只看该作者
請多利用 [code] .... [/code] 方式包覆即可

--

论坛徽章:
0
6 [报告]
发表于 2008-01-13 18:25 |只看该作者
ntsysv 里面找到iptables 把*取消

论坛徽章:
0
7 [报告]
发表于 2008-01-14 08:40 |只看该作者
命令setup中找system services 选项,把iptables的*去掉即可

论坛徽章:
0
8 [报告]
发表于 2008-01-14 11:04 |只看该作者
  1. 用root用户登陆然后输入命令
  2. [root@Map ~]# service iptables stop
  3. [root@Map ~]# chkconfig iptables off
  4. [root@Map ~]# chkconfig --list |grep iptables
  5. iptables        0off   1off   2off   3off   4off   5off   6off
  6. 这就表示关了,如果你想再次启动的话就
  7. [root@Map ~]# chkconfig iptables on
  8. [root@Map ~]# chkconfig --list |grep iptables
  9. iptables        0ff   1ff   2on   3:on   4:on   5:on   6:off
  10. 这就可以看到再2 3 4 5 启动顺序上开机自启动iptables这个服务。
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP