MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
Server does not show up in master list
SRCDS Steam group


Server does not show up in master list
#1
Or at least I'm pretty sure it's not (checking at gametracker.com). I'm going to try to be terse with my description of my configuration. If something is unclear please ask for clarification.

My setup is modem (192.168.1.254) <--> (eth0:182.168.1.64) linux box (eth1:192.168.8.1) <--> switch <--> (182.168.8.10) srcds server

The Linux box is acting as my router. I have configured the necessary port forwards:

Code:
ravens:~# iptables -t nat -L -n -v
Chain PREROUTING (policy ACCEPT 355K packets, 34M bytes)
pkts bytes target     prot opt in     out     source               destination
    0     0 DNAT       tcp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:27015 to:192.168.8.10
    0     0 DNAT       udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           udp dpt:27005 to:192.168.8.10
   24  1251 DNAT       udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           udp dpt:27015 to:192.168.8.10
    0     0 DNAT       udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           udp dpt:27020 to:192.168.8.10
    0     0 DNAT       udp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           udp dpt:26901 to:192.168.8.10

Chain POSTROUTING (policy ACCEPT 169K packets, 15M bytes)
pkts bytes target     prot opt in     out     source               destination
234K   19M MASQUERADE  all  --  *      eth0    0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 40728 packets, 3434K bytes)
pkts bytes target     prot opt in     out     source               destination

As you can see, the rule for UDP port 27015 is getting matched, so connections are coming in to the server successfully. Still, my game is not listed on the master list.

My server.cfg:

Code:
hostname "SKS experimental"
sv_password ""

rcon_password "***"
sv_rcon_banpenalty 5
sv_rcon_maxfailures 10

sv_lan 0
sv_region 0
sv_contact ***
sv_pausable 0
sv_pure 1
sv_allowupload 0
sv_allowdownload 0
sv_voiceenable 1
sv_alltalk 0

I note that if I do not specify +ip then the server listens on 127.0.1.1 (loopback) so I specify the internal address in my run script:

Code:
#!/bin/sh

./srcds_run -console -game tf -hostport 27015 +maxplayers 24 +map ctf_2fort +ip 192.168.8.10

Which usually outputs something like:

Code:
chris@tf2:~/steam/orangebox$ ./run.sh
Auto detecting CPU
Using AMD Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 192.168.8.10, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
exec: couldn't exec skill1.cfg
Executing dedicated server config file
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
exec: couldn't exec ctf_2fort.cfg
Adding master server 68.142.72.250:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
   VAC secure mode is activated.

I can connect and play fine by using the private IP, and others can connect by specifying the external IP (or my hostname), but the server doesn't show up in the server list.

Checking on sv_lan gives:

Code:
sv_lan
"sv_lan" = "0"
- Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )

Not sure if this is significant.

Ideas?
Reply


Messages In This Thread
Server does not show up in master list - SerajewelKS - 07-09-2008, 09:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)