Hosting Counter-Strike 2 servers

Counter-Strike 2 servers run natively on Linux, and each match server needs about one fast core. A single machine hosts a whole set of competitive, retake and deathmatch servers.

How do I install a CS2 server?

With SteamCMD anonymously: the server files come with app 730, the same ID as the game. The download is large, well over 30 GB, so put it on the NVMe array and share one installation between several servers.

useradd -m -d /srv/cs2 csadmin
sudo -u csadmin steamcmd +force_install_dir /srv/cs2/game \
  +login anonymous +app_update 730 +quit
sudo -u csadmin mkdir -p /srv/cs2/.steam/sdk64
sudo -u csadmin ln -sf /srv/cs2/.local/share/Steam/steamcmd/linux64/steamclient.so /srv/cs2/.steam/sdk64/steamclient.so

The link to steamclient.so avoids the common start-up error about a missing Steam client library; adjust the source path to where your SteamCMD keeps its linux64 folder.

What does the start line look like?

/srv/cs2/game/game/bin/linuxsteamrt64/cs2 -dedicated -port 27015 -maxplayers 12 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_inferno +sv_setsteamaccount YOUR_GSLT

Settings that should survive restarts go into game/csgo/cfg/server.cfg: hostname, passwords, round settings and anything else your league or community needs.

How do game type and mode pick the rules?

Two numbers together choose the ruleset and the matching config file that the server executes.

Experiencegame_typegame_mode
Casual00
Competitive01
Wingman02
Arms Race10
Deathmatch12

What is a GSLT and do I need one?

A Game Server Login Token ties a public server to your Steam account. Create one per server on Steam's game server account page with app ID 730, and pass it with +sv_setsteamaccount. Without it a server works only on a local network. Tokens should not be shared between running servers; keep a small list of which token belongs to which port.

Which ports does each server need?

UDP 27015 for players and queries, or whichever port you pass with -port. Run several servers by stepping the port: 27015, 27025, 27035 and so on. If you use remote console tools, restrict them to your admin addresses.

for port in 27015 27025 27035 27045; do nft add rule inet hostfw input udp dport $port accept; done

How do Workshop maps load?

With +host_workshop_map followed by the map's Workshop ID instead of +map, or +host_workshop_collection for a whole rotation. The server downloads the content on start, and players download it on join. Surf, bhop, aim and retake communities rely on this.

How do plugins work?

Through Metamod:Source for Source 2 and a plugin framework on top of it, most often CounterStrikeSharp, which runs plugins written in C#. Install Metamod into game/csgo/addons, add its line to gameinfo.gi, then add the framework and plugins. Retakes, practice modes, match management and admin tools are all common plugins. Game updates can change gameinfo.gi or break signatures, so check the plugin stack after every update before reopening servers.

How many servers fit on one machine?

Roughly one 10-player competitive server per fast physical core, with 1.5 to 3 GB of memory each. Deathmatch and retake servers with more players use more. Leave a core for the system.

MachineCoresCompetitive servers
ESSENTIAL-GAME-16About 5
ESSENTIAL-S8About 7
GAME-2 202616About 14

GAME-2 2026 at $222.60 a month pairs the AMD Ryzen 9 9950X3D with its large stacked cache, which keeps frame times even on busy maps. Choose the data centre closest to your players; Frankfurt and Warsaw serve central Europe well. Every model includes DDoS filtering.

Machines for Counter-Strike 2 servers

Lowest monthly price of each model across its data centres; the model page shows the price in every location.

ModelProcessorCoresMemoryDrivesPortPer month
ESSENTIAL-GAME-1AMD Ryzen 5 5600X632 GB2x 512 GB SSD NVMe1 Gbps unmetered$43.20
ESSENTIAL-GAME-2AMD Ryzen 7 5800X864 GB2x 960 GB SSD NVMe1 Gbps unmetered$60.00
ESSENTIAL-SAMD Ryzen 7 9700X864 GB2x 512 GB SSD NVMe1 Gbps unmetered$46.20
ESSENTIAL-MAMD Ryzen 9 9900X1264 GB2x 512 GB SSD NVMe1 Gbps unmetered$70.80
GAME-1 2026AMD Ryzen 7 9800X3D864 GB2x 960 GB SSD NVMe1 Gbps unmetered$198.60
GAME-2 2026AMD Ryzen 9 9950X3D1664 GB2x 960 GB SSD NVMe1 Gbps unmetered$222.60

Count fast cores to size how many match servers one machine runs.

See all servers and prices

Related pages

Game server hosting

Ryzen X3D and Ryzen 5000 machines for Minecraft, Rust, CS2 and FiveM worlds that need steady tick rates.

Read more

Low latency servers

Cut response times with the right data centre, high-clock processors, NVMe drives and a tuned network stack, for games, trading tools and real-time apps.

Read more

Game servers

AMD Ryzen X3D processors with large L3 cache for game servers.

from $198.60 a monthRead more

Firewall for game servers

Open exactly the UDP and TCP ports a game needs, protect query ports from reflection abuse and keep lag low under load.

Read more

Questions and answers

Does Counter-Strike 2 have a Linux dedicated server?

Yes. SteamCMD app 730 installs the server files, and the cs2 binary runs natively on Linux.

Do I need a GSLT for a Counter-Strike 2 server?

Yes, for a public server. Create one per server with app ID 730 and pass it with +sv_setsteamaccount.

How do I set competitive mode on a CS2 server?

Start the server with +game_type 0 +game_mode 1. Casual is 0 and 0, Wingman 0 and 2, Deathmatch 1 and 2.

How many CS2 servers can run on one machine?

About one 10-player competitive server per fast physical core, with 1.5 to 3 GB of memory each.

How do I add plugins to a CS2 server?

Install Metamod:Source for Source 2 and a framework such as CounterStrikeSharp, then add plugins written for that framework.