Displaying 1 result from an estimated 1 matches for "second_host_ip".
2004 Jun 06
0
DNAT question
Hi
    This is an odd question. But here it is. I have two hosts both with two 
nicks physically in two different countries.  One host I have DNAT set up on 
such that all traffic is forwarded to the second host.
iptables -t nat -A PREROUTING -d 0.0.0.0 -j DNAT --to-destination 
second_host_ip
But what I am trying to imagine is how can I get the  second host to un-DNAT 
the traffic from the first host.
using an example packet from 10.0.0.12 to 195.14.13.2 hits first host. First 
host changes the src address (10.0.0.12) to its WAN addr and changes the 
destination 195.14.13.2 to the add...