That should forward all incoming connections from 18.104.22.168 to 10.0.0.1
iptables -t nat -A FORWARD -s 22.214.171.124 -j DNAT --to-destination 10.0.0.1
@KevDog-- you can setup virtual devices the would be named eth1:0 eth1:1 and so on, each one can have a different address, even though there sharing the same NIC
Last edited by Ocxic; March 30th, 2011 at 12:49 AM.
There is an easy way, and a hard way to do things.
If you're anything like me, you've tried to do things things the hard way,
and broke something.......