Linux Netfilter discussions
 help / color / mirror / Atom feed
* Help with game server
@ 2002-12-22  2:06 Mark Ryan
  2002-12-22  8:20 ` Joel Newkirk
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Ryan @ 2002-12-22  2:06 UTC (permalink / raw)
  To: netfilter

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-22  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-22  2:06 Help with game server Mark Ryan
2002-12-22  8:20 ` Joel Newkirk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox