Guide

How to Make a CS2 Server

Run your own Counter-Strike 2 dedicated server: install SteamCMD, download the CS2 server files, get a Game Server Login Token, configure it and launch. Plus the one-click hosted option.

7 min read Intermediate Anti-DDoS hosting

A dedicated Counter-Strike 2 server gives you your own maps, plugins, configs and a stable low ping with no queues — ideal for clans, communities and practice. You install it with SteamCMD and a free Game Server Login Token (GSLT) from Steam.

You can host it on a VDS/dedicated box yourself, or use managed CS2 hosting that handles SteamCMD, updates and plugins from a panel.

Before you start

What you'll need

A quick checklist before you begin — have these ready and the rest is easy.

  • SteamCMD installed on a Linux or Windows server.
  • A free Game Server Login Token (GSLT) for app 730 from your Steam account.
  • A strong CPU (Counter-Strike is single-thread heavy) and enough RAM for your slots.
  • Port 27015 (UDP) open and reachable.
Step by step

Set up a CS2 dedicated server

1

Install SteamCMD

SteamCMD is Valve's command-line tool for downloading dedicated server files. Install it on your Linux or Windows server first.

2

Download the CS2 server (app 730)

Use SteamCMD to install the Counter-Strike 2 dedicated server (Steam app ID 730). This downloads the official server files.

steamcmd +login anonymous +app_update 730 validate +quit
3

Get a Game Server Login Token (GSLT)

Create a free GSLT for app 730 in your Steam account's Game Server Account management page. Public servers require it.

4

Configure your server

Edit your server config (gamemode, hostname, RCON password) and create autoexec/cfg files for your settings. Set a strong RCON password.

hostname "My ESAGAMES CS2 Server"
sv_setsteamaccount YOUR_GSLT_TOKEN
rcon_password "change_me"
5

Launch the server

Start CS2 in dedicated mode with your map, game mode and token. Adjust tickrate and maxplayers to taste.

./cs2 -dedicated +map de_dust2 +game_mode 1 +game_type 0 +sv_setsteamaccount YOUR_GSLT_TOKEN
6

Connect and invite

In CS2, open the console and connect to your IP and port (27015 by default). Share the connect address with your players.

connect your-server-ip:27015
Run it well

CS2 server best practices

High-clock CPU

Counter-Strike loves single-core speed. A fast CPU keeps movement and hit-registration crisp.

Anti-DDoS

CS servers are attacked constantly. Filtering stops a rival from booting your match.

Host near players

Low ping is everything in competitive CS. Host close to your community — Frankfurt for the EU.

Troubleshooting

Common problems & fixes

Hit a snag? These are the issues people run into most — and how to solve them.

Server isn't visible on the internet

You need a valid GSLT. Create one for app 730 and set it with sv_setsteamaccount.

"VAC was unable to verify"

This is usually a GSLT or networking issue — confirm your token is valid and port 27015/UDP is open.

Players can't connect

Check that UDP 27015 is open and that you're sharing the correct public IP and port.

Plugins won't load

Install Metamod first, then CounterStrikeSharp, and confirm versions match your current CS2 build.

Skip the setup — host it with ESAGAMES

Don't want to manage SteamCMD and tokens? Our CS2 hosting handles installation, updates and plugins on high-clock CPUs behind a multi-Tbps Frankfurt network — high-tick and protected.

CS2 hosting
FAQ

Frequently asked questions

How do I make a CS2 server?

Install SteamCMD, download the CS2 dedicated server (app 730), get a free Game Server Login Token from Steam, configure your server.cfg and launch CS2 in dedicated mode.

Do I need a GSLT token?

Yes — public Counter-Strike 2 servers require a Game Server Login Token (GSLT) for app 730, created free in your Steam account.

What port does CS2 use?

The default Counter-Strike 2 server port is 27015 (UDP). Make sure it's open and reachable.

What hardware does a CS2 server need?

Counter-Strike is CPU-bound, so high single-core clock matters most, plus enough RAM for your slot count. A fast CPU keeps gameplay responsive.

Can I run plugins like retakes or surf?

Yes — using Metamod and CounterStrikeSharp you can run retakes, surf, KZ, deathmatch and practice plugins.

Is running a CS2 server allowed?

Yes — Valve provides the official dedicated server via SteamCMD and the GSLT system. Follow Valve's server guidelines and terms.

More guides

Keep reading

Ready to launch?

Protected, low-latency game hosting in Frankfurt — online in minutes with 24/7 support.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney