what I want to do is forward port 5050 to 192.168.01 on my internal LAN so I can use the video and voice chat features of Yahoo Messenger. My external interface is ppp0....
Would these two statements do what I am wanting to do?
/sbin/iptables -t nat -A PREROUTING -p tcp -i ppp0 -xxx.xxx.xxx.xxx
--dport 5050 -j DNAT --to 192.168.0.1:5050
/sbin/iptables -A FORWARD -p tcp -i eth0 -d 192.168.0.1 --dport 5050 -j ACCEPT
I saw this on
http://www.hackorama.com/network/portfwd.shtml and tried to adapt them to what I am wanting to do. Could one of you networking gurus take a looksie and let me know?....