You have to use iptables, and disable ipchains.
then do this to port forward
/sbin/iptables -t nat -A PREROUTING -p tcp -d $IP --dport 1212 -j DNAT --to $ryan:1212
which is saying
incomming connection to $IP (the internet ip of the router/server) destination port 1212, forward to IP $ryan port 1212
hope that helps
|