Counter-Strike 2Guide

How to host your own CS2 server (step by step, 2026)

Your rules, your maps, your community. Here is how to set up a Counter-Strike 2 dedicated server from zero — and how to fill it with players.

Updated 2026-10-06 · 4 min read

CS2

Running your own CS2 server sounds like a big project, but the basics are simpler than you think. You need a machine, a free tool from Valve called SteamCMD, and a Game Server Login Token. Let's go step by step.

What you need

A CS2 dedicated server can run on Windows or Linux. Plan for at least:

  • 2 GB of RAM (more if you want many players or plugins)
  • 65 GB of free disk space for the game files
  • A modern 64-bit CPU and a stable internet connection with good upload speed

You can use a home PC to test, but a rented server or VPS is better if you want it online 24/7. Players also need to reach it, so port 27015 (UDP) must be open in your firewall and router.

Counter-Strike 2 – Leveling Up The World · YouTube

Step 1: Install the server with SteamCMD

SteamCMD is Valve's command-line version of Steam for servers. Download it, run it, and enter these commands (choose your own folder):

force_install_dir ./cs2-server
login anonymous
app_update 730 validate
quit

App 730 is Counter-Strike 2. You log in anonymously, so you don't need your own Steam password. Run app_update 730 validate again whenever CS2 updates — players can't join an outdated server.

Step 2: Get a Game Server Login Token (GSLT)

Public CS2 servers need a GSLT. Create one on Steam's Manage Game Servers page (steamcommunity.com/dev/managegameservers) and enter 730 as the App ID.

Your Steam account must meet a few rules: it can't be a limited account, it needs a phone number attached, and it must own the game. Each token is for one server.

Step 3: Launch the server

The basic launch line is the same on both systems; only the program path is different. On Windows, run cs2.exe from game/bin/win64:

cs2.exe -dedicated -port 27015 -maxplayers 10 +map de_dust2 +sv_setsteamaccount YOUR_TOKEN

On Linux, use the cs2.sh script in the game folder:

./cs2.sh -dedicated -port 27015 -maxplayers 10 +map de_dust2 +sv_setsteamaccount YOUR_TOKEN

-maxplayers sets your slot count and +map picks the start map. Replace YOUR_TOKEN with your GSLT. Once it is up, connect from your game with connect IP:27015 to test it.

Step 4: Choose a game mode

CS2 picks the mode from two settings, game_type and game_mode. Add them to your launch line, for example +game_type 0 +game_mode 1 for competitive.

Modegame_typegame_mode
Casual00
Competitive01
Wingman02
Deathmatch12
Custom30

Custom is the base for community modes like surf, retakes or minigames, where plugins and map settings take over.

Rammus53LIVERammus53dekoLIVEdekoformixyouknowLIVEformixyouknowAunkereLIVEAunkereshawdfxcLIVEshawdfxcs_chillaLIVEs_chilla
Live right now: Counter-Strike 2 streams

Step 5: Add plugins

Most popular community servers run plugins. On CS2 the standard tools are Metamod:Source 2 plus CounterStrikeSharp. With them you can add admin tools, ranks, timers for surf and KZ, retake logic and more. SourceMod from the CS:GO days does not work on CS2.

Add plugins one by one and restart after each. If the server crashes, you know right away which plugin caused it. Remember to check plugins after every CS2 update, because a game patch can break them until their authors release a fix.

Also write clear rules and post them in a welcome message or on your server's community page. Friendly admins and fair rules are what keep players coming back night after night.

Get players: add your server to Oggo

A server without players is just a lonely map. List it on Oggo so people browsing the CS2 server list can find it and join with one click.

Go to the owners page and add your server. To prove it is yours, you put a short code into your server's sv_tags. Once it is verified, your server gets a verified badge, you see its stats, and your server's streamers can be shown next to it.

All servers →

These are the busiest CS2 servers right now — see what they do well, then build your own. Looking for mode ideas? Read our community servers guide.

FAQ

How much RAM does a CS2 server need?

Plan for at least 2 GB of RAM and 65 GB of disk space. More players and plugins need more.

What is a GSLT and do I need one?

A Game Server Login Token links your server to your Steam account. Create it on Steam's Manage Game Servers page with App ID 730 and add it with +sv_setsteamaccount.

Which port does a CS2 server use?

The default port is 27015. Open it in your firewall and router so players can connect.

Can I use SourceMod on a CS2 server?

No. Use Metamod:Source 2 together with CounterStrikeSharp for plugins on CS2.

Sources

Read next

See all →