Help! NAT unable to routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi! 

I am using IPTables to do some re-routing tests. Basically I try to re-route
the traffic from one box to another box. But it failed (not forwarding, but
timeout). Can anyone point to what errors about my script.
p.s. I did open forward (net.ipv4.ip_forward = 1) in Linux.


#set the dafault policies; 
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

# what is wrong ??
iptables -t nat -A PREROUTING -i eth0 -p tcp -d 150.135.44.245 --dport 80 -j
DNAT --to 150.135.45.96




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux