10-05-2006, 12:18 AM
There is something weird going on with the dedicated servers I put up behind my FreeBSD router (m0n0wall). I'm using inbound NAT port forwarding. When I put up a CS Source server running on port 27015, the server comes up in the steam master listing as running on port 9895. Here is my command line:
When I forward port 27015 in my router, clients can connect by going directly to 71.251.230.34:27015. But if I want clients to connect from the server browser list, my server shows up as 71.251.230.34:9895 so I have to forward WAN port 9895 to the LAN port 27015 to let them in.
This issue happens with both Goldsrc and Source dedicated servers. My server's OS is Win2k3, and no software firewalls are installed. All of my other port forwards are working properly - SSH, HTTP, FTP, etc. I think this issue is specific to hlds/srcds when they are ran behind a restrictive firewall.
Here are the ports I've forwarded for hlds/srcds... with a little bit extra added for the multiple servers I run.
TCP 27015-27020 (RCON)
TCP 27030-27039
TCP/UDP 26900-26905 (VAC auth)
UDP 1200-1205
UDP 27000-27020
What is causing the master server to list me at this obscure port? Any help you guys have to offer will be much appreciated.
Quote:srcds.exe -console -game cstrike -port 27015 +sv_lan 0 +map de_dust +maxplayers 16If I increment the local port by 1 to 27016, the master lists an incremented port also at 9896. I found out this info by querying the master server with QStat (http://www.qstat.org - looks to be down now though) using the following command from linux on another network:
Quote:qstat -stma2s,game=cstrike,region=0,status=dedicated 68.142.72.250:27011 |grep 71.251.230.34Result:
Quote:A2S 71.251.230.34:9895 no responseIn the query above, 71.251.230.34 is my WAN IP and you see the server in the result being listed with the weird 9895 port.
When I forward port 27015 in my router, clients can connect by going directly to 71.251.230.34:27015. But if I want clients to connect from the server browser list, my server shows up as 71.251.230.34:9895 so I have to forward WAN port 9895 to the LAN port 27015 to let them in.
This issue happens with both Goldsrc and Source dedicated servers. My server's OS is Win2k3, and no software firewalls are installed. All of my other port forwards are working properly - SSH, HTTP, FTP, etc. I think this issue is specific to hlds/srcds when they are ran behind a restrictive firewall.
Here are the ports I've forwarded for hlds/srcds... with a little bit extra added for the multiple servers I run.
TCP 27015-27020 (RCON)
TCP 27030-27039
TCP/UDP 26900-26905 (VAC auth)
UDP 1200-1205
UDP 27000-27020
What is causing the master server to list me at this obscure port? Any help you guys have to offer will be much appreciated.
[FORD] CS:S GunGame - 71.251.230.34:27016 - ford.thehax.com
Asero Gaming Community - aserogaming.net
Asero Gaming Community - aserogaming.net