[bf1942] Gamespy/Ingame browser
wf at warmfuzzyland.com
Mon Jul 7 17:54:31 EDT 2003
Thanks for the answer. I do actually have game.serverInternet set to 1
in my ServerSettings.con, and amusingly enough, that caused me some
issues out of the gate.
It feels like a firewall problem, sorta, since ASE is working but the
ingame browser is not (and they operate on different query ports). I
have the standard iptables ESTABLISHED/RELATED line at the end of the
chain. BF-specific rules look like this:
$IPTABLES -A INPUT -p UDP --dport 14567 -j ACCEPT
$IPTABLES -A INPUT -p TCP --dport 4711 -j ACCEPT
$IPTABLES -A INPUT -p UDP --dport 4711 -j ACCEPT
$IPTABLES -A INPUT -p UDP --dport 14690 -j ACCEPT
$IPTABLES -A INPUT -p UDP --dport 23000:23009 -j ACCEPT
$IPTABLES -A INPUT -p UDP --dport 27900 -j ACCEPT
$IPTABLES -A INPUT -p TCP --dport 28900 -j ACCEPT
Does that look right? I JUST added that TCP port at the end, and zeroed
the game.gameSpyPort setting in ServerSettings.con.
> I didn't see any references to
> game.serverInternet 1
> in ServerSettings.con. Ensure that it is set to 1 for the server to display
> in the Gamespy browsers.
> It is a simple overlook but chances are that you have already set it to 1.
> Either way I hope it helps.
> -----Original Message-----
> From: WarmFuzzy [mailto:wf at warmfuzzyland.com]
> Sent: Wednesday, July 02, 2003 6:43 PM
> To: bf1942 at icculus.org
> Subject: [bf1942] Gamespy/Ingame browser
> Let's see if my list-flame-avoidance skillz are intact.
> I'm having trouble getting my Linux 1.4 (DC .38) server to show up in
> the ingame browser. I read through the forums and saw a lot of problems
> related to NAT, but that doesn't help, as this box has a real live
> routable IP (two in fact!).
> [reading this over, is the problem that I have two IPs bound to the same
> I can see it fine in ASE, and even have people joining and playing that
> aren't in my little gaming community. I'd like the traffic from Gamespy
> and the ingame browser too.
> Some relevant details:
> Red Hat 2.4.20-18.7smp (what a mouthful)
> [mbott at mrnice mbott]$ netstat -nlut
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address State
> tcp 0 0 126.96.36.199:4711 0.0.0.0:* LISTEN
> udp 0 0 188.8.131.52:23000 0.0.0.0:*
> udp 0 0 184.108.40.206:14690 0.0.0.0:*
> udp 0 0 220.127.116.11:14567 0.0.0.0:*
> [mbott at mrnice mbott]$
> I have the following line in my firewall script:
> $IPTABLES -A INPUT -p UDP --dport 23000:23009 -j ACCEPT
> I have the following lines in my ServerSettings.con:
> game.serverIP 18.104.22.168
> game.serverPort 14567
> game.gameSpyLANPort 0
> game.gameSpyPort 23000
> game.ASEPort 14690
> (they were changed when we couldn't see the server in either ASE or
> gamespy, seems to work fine in ASE now, 0 or 23000 didn't make much of a
> difference for the ingame browser)
> I've done a pile of RTFMing, and can't figure it out. Any ideaz?
> Also, am I on crack for thinking that the ingame browser and gamespy
> will be broken/start working simultaneously?
More information about the Bf1942