echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -d x.x.x.x -j DNAT --to-destination y.y.y.y
iptables -t nat -A POSTROUTING -s y.y.y.y -j SNAT --to-source x.x.x.x
x.x.x.x e y.y.y.y sono gli indirizzi IP rispettivamente di eth0 e eth1