DNAT question (Iptables)
Dear allĄG
I want my NAT server to do DNAT. so I do commands as followĄG
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp -d $nat_ip --dport 80 -j DNAT --to 192.168.1.11
echo "1" > /proc/sys/net/ipv4/ip_forward
(the NAT server's eth1 connect with Internet , and 192.168.1.11 has http service & no firewall)
But it seems not work. (cann't find pages)
How should I do ??
Can any one help me ? Thsnks!! ^_^
|