Quote (AbDuCt @ Apr 11 2015 03:13pm)
Are you just trying to redirect traffic to another interface? If so you can use the PREROUTING table and apply redirects.
Code
iptables -t nat --flush
iptables --flush
iptables -P FORWARD ACCEPT
iptables -t nat -A PREROUTING -i eth0
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
Not exactly what you wanted, but it might be able to redirect based on ip address rather than interface.
That should work! So to address it to, say 10.0.20.2, would it be simply:
Code
iptables -t nat -A POSTROUTING -o eth1 -d 10.0.20.2 -j MASQUERADE