Subj : Re: iptables and forwarding woes To : comp.os.linux From : Sybren Stuvel Date : Thu Jun 17 2004 06:56 pm jess enlightened us with: > i'm having a problem with getting port 5000 to forward to the same > port on another linux machine. This is what I use: iptables -t nat \ -A PREROUTING -p udp \ -d $EXTERN_IP --dport 7242 \ -j DNAT --to-destination $RAILROAD2:7242 And I set RAILROAD2 to the IP of the person hosting a Railroad Tycoon II game :) Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? .