为什么我的机器上iptables没有-t nat选项?

由 ustcbadbb 在 04-06-2004 20:27 发表:

为什么我的机器上iptables没有-t nat选项?

无法端口映射//弱弱地问


由 ustcbadbb 在 04-06-2004 21:49 发表:


敲入以下命令:

iptables -t nat -A PREROUTING -p tcp -s 202.38.72.210 --dport 501 -j DNAT --to-destination 192.168.1.2

有以下出错信息:

modprobe: Can't locate module ip_tables

iptables v1.2.7a: can't initialize iptables table `nat': iptables who? (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.


由 victoryhe 在 04-07-2004 09:27 发表:


lsmod一下看看有没有ipchains

然后

rmmod删除ipchains这个防火墙

可能是冲突


大家好希望能够快乐交流经验

qq:30850247

msn:[email protected]

:help


由 黯然销魂 在 04-07-2004 12:29 发表:


应该是你的内核编译没有把nat编进去。


-- Hacking is "an appropriate application of ingenuity.." --

--If Linu

Published At
Categories with 服务器类
comments powered by Disqus