I am new to iptables configuration, but have you tried : iptables -A PREROUTING -t nat -p tcp --dport 1791 -j DNAT --to $INT_IP iptables -A FORWARD -i $PUBLIC_INT -o $PRIV_INT -p tcp -d $INT_IP --dport 1791 -m state --state NEW,ESTABLISHED,RELATED iptables -A FORWARD -i $PRIV_INT -o $PUBLIC_INT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i $PUBLIC_INT -o $PRIV_INT -m state --state ESTABLISHED,RELATED -j ACCEPT etc....
You show the PREROUTING rule, but not any FORWARD rules. HTH, Doug On Sunday 17 March 2002 09:32 am, Tim Hunter wrote: > I am trying to get Madden 2001 to be able to host a game behind my iptables > NAT. > I got a message from EA Sports saying: > The port numbers are for this game is TCP 1791, 1793, 3337, 9992 UDP > 1791,1793. > > Looked simple enough for me so I added the lines: > # forward for madden 2001 > iptables -A PREROUTING -t nat -p tcp --dport 1791 -j DNAT --to $INT_IP > iptables -A PREROUTING -t nat -p udp --dport 1791 -j DNAT --to $INT_IP > iptables -A PREROUTING -t nat -p tcp --dport 1793 -j DNAT --to $INT_IP > iptables -A PREROUTING -t nat -p udp --dport 1793 -j DNAT --to $INT_IP > iptables -A PREROUTING -t nat -p tcp --dport 3337 -j DNAT --to $INT_IP > iptables -A PREROUTING -t nat -p tcp --dport 9992 -j DNAT --to $INT_IP > > Though it still doesn't work, any ideas? > > Thanks, > Tim
