http://forums.linuxmint.com/viewtopic.php?f=157&t=56226
http://serverfault.com/questions/140622/how-can-i-port-forward-with-iptables
-
Set up the forwarding
sudo -s echo '1' > /proc/sys/net/ipv4/conf/eth0/forwarding iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 1521 -j DNAT --to-destination 192.168.56.102:1521
iptables -A FORWARD -p tcp -d 192.168.56.102 --dport 1521 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT