Help with game server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a linux firewall/router with iptables firewall script.  I am
trying to run a Medal of Honor game server so that me and a friend can
play.
 
I only want him to be able to connect...however I can't seem to get the
rules right.  It seems that Medal of Honor is using port 12203.  I have
the following rules but they don't work:

These to allow the connection:
$IPTABLES -A INPUT -p udp -i $EXT_IF -s 68.99.10.xx -d 67.8.168.xx
--dport 12203 -j ACCEPT
$IPTABLES -A INPUT -p tcp -i $EXT_IF -s 68.99.10.xx -d 67.8.168.xx
--dport 12203 -j ACCEPT

These to forward to internal machine:
$IPTABLES -t nat -A PREROUTING -p tcp --dport 12203 -i eth1 -s
68.99.10.xx -j DNAT --to 192.168.1.5:12203
$IPTABLES -t nat -A PREROUTING -p udp --dport 12203 -i eth1 -s
68.99.10.xx -j DNAT --to 192.168.1.5:12203
 
Am I doing something wrong?
 
Mark




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux