由 laxi1982 在 05-16-2003 10:02 发表:
在用iptables 做防火墙出现了一个问题
在用iptables 做防火墙,写了iptables -P INPUT DROP
iptables -P OUTPUT REJECT
iptables -P FORWARD REJECT
调试是出现提示iptables :bad policy name
bad bulit-in chain name
我用的是red hat linux 版本7。2 内核2。4。7 已经卸载了ipchain 加载了iptables 请问是怎么回事啊
由 chouyouyou 在 05-16-2003 11:56 发表:
没碰上过,我也用7.2,没卸载ipchain,直接用iptables,好好的。
由 BTworm 在 05-16-2003 21:22 发表:
-P只接受DROP和ACCEPT,没有REJECT。
如果我说得不对,可一定告诉我呀。
由 bulebell2222 在 05-19-2003 09:43 发表:
你可能说对了
BTworm:
我觉得在iptables 中可以用reject的啊,在ipchains只有drop 和accept,我觉得好奇怪,照你的说法改,