Dedicated Server

Downloading CS:GO Dedicated Server

This describes the process of updating the CS:GO dedicated server application. These steps are required every time the game is updated.
1. Download and install SteamCMD.
2. Start SteamCMD. At the Steam> prompt, set your CS:GO Dedicated Server install directory.

Windows:

force_install_dir c:\csgo-ds\

Linux:

force_install_dir /full/path/to/csgo-ds/

3. Login in anonymously

login anonymous

4. Install or Update CS:GO. If this is your first time installing or if you are trying to verify the integrity of the server files:

app_update 740 validate

If this is simply an update to an existing CS:GO dedicated server:

app_update 740

5. Once finished, type quit at the Steam> prompt to properly log off of the Steam servers.

Registering Game Server Login Token

CS:GO game servers and GOTV relays not logged in to a persistent game server account with a Game Server Login Token (GSLT) will only allow clients to connect from the same LAN RFC1918 addresses (10.0.0.0-10.255.255.255,172.16.0.0-172.31.255.255,192.168.0.0-192.168.255.255). If your server has a public routable IP address and clients need to connect from outside the server LAN then you need to get registered for GSLT.

To create your GSLTs, visit the GSLT creation utility and follow the instructions here: http://steamcommunity.com/dev/managegameservers

Each GSLT is restricted for use on one dedicated server instance only, and should be passed on command line with +sv_setsteamaccount THISGSLTHERE. You can also use command line setting -net_port_try 1 to avoid instances from reusing the same GSLT by accident.

Starting the Server

Classic Casual:

srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2

Classic Competitive:

srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2

Arms Race:

srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots

Demolition:

srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake

Deathmatch:

srcds -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust

Connectivity

No matter which type of server you are using, your computer must be able to receive unsolicited incoming connections. This is exactly what routers and software firewalls exist to prevent, so if you are using either you will have to reconfigure. Refer to the manufacturer instructions for how to do this.

The ports SRCDS officially requires are:

  • 27015 TCP/UDP (game transmission, pings and RCON) – Can be changed using -port on startup
  • 27020 UDP (SourceTV transmission) – Can be changed using +tv_port on startup
  • 27005 UDP (Client Port) – Can be changed using -clientport on startup
  • 26900 UDP (Steam Port, outgoing) – Can be changed using -sport on startup

SRCDS has also been spotted opening connections on 27005 and 51840 UDP, but these may be outbound only.

© 2021 - Esports Control