iptables中无法使用--state

由 feilong 在 03-01-2004 14:05 发表:

iptables中无法使用--state

各位高手,本人在使用iptables坐端口映射的时候,参考别人的意见,准备打开FORWARD链。但是不知道为什么无法使用。命令如下:望各位高手指点

iptables -t nat -A PREROUTING -d a.b.c.d -p tcp --dport 80 -j DNAT --to 192.168.1.10(无提示,正确)

iptables -A FORWARD -o eth0 -d 192.168.1.10 -p tcp --dport 80 -j ACCEPT(无提示,正确)

iptables -A FORWARD -i eth0 -s 192.168.1.10 -p tcp --sport 80 -m --state ESTABLISHED -j ACCEPT

提示为:iptables1.2.7a: Couldn't load match '--state' :/lib/iptables/libipt_state.so: cannot open shared object file :No such file of directory

本人在两

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