How to Set Up a CS2 Dedicated Server in 2026
A clear, no-nonsense walkthrough for running your own Counter-Strike 2 server — install, config, ports, GSLT, and getting players on day one.
Running your own Counter-Strike 2 server gives you full control over maps, rules and community. This guide walks through the whole thing on a Linux box (the most common choice), from a clean install to a public, joinable server — and the part most guides skip: actually getting players.
Before you start
- A Linux VPS or dedicated machine (Ubuntu 22.04+ is the easiest). 2 vCPU and 2 GB RAM comfortably run a 12–16 slot server; competitive 5v5 needs even less.
- A Steam Game Server Login Token (GSLT) so your server can be listed publicly.
- Ports 27015 UDP and TCP open on the firewall.
- SSH access and ~40 GB of free disk for the game files.
Step 1 — Install SteamCMD
SteamCMD is Valve's command-line tool for downloading server files. On Ubuntu, install the 32-bit libraries it needs, then download and extract SteamCMD into its own folder and run it once so it self-updates.
Step 2 — Download the CS2 server files
- 1Inside SteamCMD, run: login anonymous
- 2Install the dedicated server: app_update 730 validate
- 3Wait — the download is large (~30 GB), then quit.
Step 3 — Get a GSLT
A Game Server Login Token ties your server to a Steam account so it can be listed in the public browser and isn’t rate-limited. Create one at steamcommunity.com/dev/managegameservers using App ID 730, then copy the token.
Step 4 — Launch it
Start the server pointing at a map and your token, for example: cs2 -dedicated +map de_dust2 +sv_setsteamaccount YOUR_GSLT. Set the hostname, rcon_password and an optional sv_password in game/csgo/cfg/server.cfg, and add a game mode (competitive for 5v5, casual for a bigger server).
Always test from another machine, not the host. Connect with the public IP in the in-game console: connect YOUR_IP:27015. If it times out, a closed port or missing forward is almost always the cause.
Step 5 — Get players
A running server with nobody on it is invisible. Players find servers through trackers and toplists, not by luck. Give yours the best chance:
- List it on a server tracker so it appears in the CS2 rankings and players can find, favourite and vote for it.
- Keep it online 24/7 — uptime is a major ranking factor.
- Run a Discord and pin the connect IP.
- Ask players to vote; votes push you up the list.
Live ranking
Top CS2 Servers
Frequently asked questions
Is a GSLT required?
For a public, listed server, effectively yes — without one your server can be hidden from the browser and may be rate-limited. It’s free and takes a minute to create.
How much RAM does a CS2 server need?
2 GB is plenty for a standard 12–16 slot server. Single-thread CPU performance matters more than RAM for tick stability.
Can I host CS2 from home?
You can for friends, but you’ll need to port-forward 27015 and your home upload can struggle with a full server. A cheap VPS is more reliable and keeps your home IP private.



