QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1042|回复: 2

弱弱的问:关于iptables -F 语句

[复制链接]
发表于 2002-11-21 11:32:53 | 显示全部楼层 |阅读模式
我发现做iptables -F 语句并不能去除原来做的端口redirect,请问重定向应该怎么去掉呢?
发表于 2002-11-21 15:38:56 | 显示全部楼层
iptables -t  nat -P PREROUTING DROP
iptables -t  nat -P POSTROUTING DROP
iptables -t  nat -P  OUTPUT DROP



或者:

/etc/init.d/iptables stop

若还不行,/etc/init.d/iptables panic
回复

使用道具 举报

 楼主| 发表于 2002-11-21 16:10:03 | 显示全部楼层
多谢斑竹!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-23 18:25 , Processed in 0.105843 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表