Install SteamCMD
SteamCMD is Valve’s tool to install and update CS:GO servers.
- Windows:
- Download SteamCMD
- Extract to
C:\SteamCMD - Run
steamcmd.exe
- Linux (Ubuntu/Debian): Update your system’s package list
sudo apt updatesudo→ run the command as adminapt→ Linux package managerupdate→ refresh the list of available software
Download the CS:GO Server
Use SteamCMD to get the server files:
force_install_dir C:\csgo-server\ # Or ~/csgo-server/ on Linux
login anonymous
app_update 740 validate
quitforce_install_dir– where server files will be installedapp_update 740 validate– downloads/updates the CS:GO server
Register a Game Server Login Token (GSLT)
- Go to the Steam Game Server Management page
- Log in with your Steam account that owns CS:GO
- Click “Create a new Game Server Account”
- Select Game: CS:GO and add a Memo (server name for reference)
- Click Create and copy the token
Each token is tied to one server. Keep it private.
Configure Your Server
Go to csgo/cfg and create/edit server.cfg:
hostname "My CS:GO Server" // Server name
rcon_password "supersecret" // Remote admin password
sv_password "" // Leave blank for public server
sv_lan 0 // 0 = internet, 1 = LAN only
mp_maxplayers 16 // Number of players
sv_cheats 0 // Keep cheats off
mp_autoteambalance 1 // Auto-balance teams- Optional: Use
autoexec.cfgfor extra settings (tickrate, etc.) - Maps: Edit
mapcycle.txtto customize map rotation
Port Forwarding
Allow players to connect by forwarding ports on your router:
- UDP 27015 – game traffic
- TCP 27015 – optional, for RCON remote admin
- Make sure your firewall allows these ports
If you have a dynamic IP, use a dynamic DNS service so players can connect via a hostname.
Launch the Server
Linux: ./srcds_run -game csgo -net_port_try 1 -tickrate 128 \
+game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 \
+sv_setsteamaccount YOUR_GSLT_TOKEN
Windows: srcds.exe -game csgo -console -usercon -port 27015 -tickrate 128 \
+game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 \
+sv_setsteamaccount YOUR_GSLT_TOKEN
Replace YOUR_GSLT_TOKEN with your Game Server Login Token from Steam.
-tickrate 128 ensures competitive tickrate.
+map de_dust2 starts the server on Dust2.
Connect to Your Server
- Open CS:GO
- Press
~to open console - Type: connect YOUR_PUBLIC_IP:27015
- You’re in!
If you set sv_password, enter it to join. Ensure sv_lan 0 is set for Internet play.
Frequently Asked Questions
Yes. You can host a server for free on your own computer using the official server files, but performance depends on your hardware and internet connection.
You can host a server on your own PC, but a dedicated server provider is recommended for better stability and performance.
Yes. Tools like SourceMod and MetaMod allow you to add plugins, admin tools, and custom game modes.
Lag is usually caused by weak hardware, high tick rates, too many players, or limited bandwidth.
Use a valid Game Server Login Token (GSLT) and ensure your ports are open so players can find the server in the browser.



