All guides

How to make your own CS2 server

There are two ways to set up your own Counter-Strike 2 server: a quick local one - to play with friends, and a full dedicated server - a 24/7 server with your own rules. Let's cover both.

Option 1. A local server for friends

The easiest way is to run the game with bots/friends through the console. Enable the console (Settings → Game → Enable Developer Console), then type map de_dust2 to load a map locally. Friends can connect via your external IP as long as port 27015 (UDP) is forwarded on your router.

Option 2. A dedicated server via SteamCMD

Server settings (name, game mode, tickrate, plugins) are configured in the config files and through Metamod/CounterStrikeSharp if you need mods like surf, zombie, or retake.

  1. 1Download and install SteamCMD from Valve's official site.
  2. 2Use SteamCMD to install the CS2 server files: app_update 730 validate.
  3. 3Get a GSLT token at steamcommunity.com/dev/managegameservers (required for a public server).
  4. 4Start the server with: cs2.exe -dedicated +map de_dust2 +sv_setsteamaccount YOUR_TOKEN
  5. 5Forward port 27015 (UDP/TCP) on the server and router so the server is visible from outside.

Option 3. Renting a ready-made host

If you'd rather not fiddle with the setup or keep your PC running, rent game hosting. Most panels deploy a CS2 server in a couple of clicks, provide DDoS protection, and guarantee 24/7 uptime.

Add your server to the monitoring

Once your server is up, add it to MonitoringCS2 with the "Add server" button - just enter the IP:port. The server appears in the public list, and you can verify ownership and promote it to attract players.

Frequently asked questions

What is the difference between a local and a dedicated CS2 server?+

A local server starts right from the game on your PC and is handy for practice, but friends connect with extra lag. A dedicated server runs as a separate process and keeps a stable ping for all players.

How do I install a dedicated CS2 server with SteamCMD?+

Download SteamCMD, run login anonymous, then install the app with app_update 730. After that you start the server via cs2.exe (or cs2 on Linux) with your chosen parameters.

What is a GSLT token and why do I need one?+

A GSLT (Game Server Login Token) links a public server to your Steam account. Without it the server is not visible on the internet to other players; you can generate a token on the Steam website.

Is it free to create your own CS2 server?+

The server software itself and the GSLT token are free. You only pay for hosting or a VPS if you want the server reachable online around the clock.

How do I let friends join my CS2 server?+

Give them the server's external IP and port so they can join with connect IP:port. For a home server you may also need to forward port 27015 on your router.