At home
Perfect for an evening with friends or a LAN. You need to forward the ports on your router and leave the PC on; your upload speed limits the number of players.
Want to create your own Counter-Strike server to play with friends or start a community? This page compares Counter-Strike 2, Counter-Strike: Source and Counter-Strike 1.6, explains where to host the server, then gives the install commands for each game with SteamCMD, Valve's official tool.
Updated on 25/10/2026 · by Exception Multiservices
All three games are set up the same way, but they don't need the same machine or the same tools. The dedicated server downloads without buying the game; it's the players who need the game in their Steam library.
| Counter-Strike 2 | Counter-Strike: Source | Counter-Strike 1.6 | |
|---|---|---|---|
| For whom | The current game, the most players, competitive | Fun, loyal communities, endless maps and modes | For the nostalgic, very lightweight |
| SteamCMD app | 730 | 232330 | 90 |
| Disk space | about 65 GB | a few GB | under 1 GB |
| Recommended machine | 4 fast cores, 8 GB of memory | 2 cores, 4 GB of memory | 1 core, 1 GB of memory |
| Steam token (GSLT) | required to be listed and joinable | optional | no |
| Plugins and administration | Metamod:Source 2 + CounterStrikeSharp | Metamod:Source + SourceMod | AMX Mod X |
SourceMod does not work on CS2: CS2 plugins are written for CounterStrikeSharp. Thousands of CS:S and CS 1.6 plugins are available on the AlliedModders forum.
Perfect for an evening with friends or a LAN. You need to forward the ports on your router and leave the PC on; your upload speed limits the number of players.
The server is ready in minutes with a control panel, without touching Linux. Less freedom: plugins, files and website depend on what the host allows.
A machine rented in a data centre, entirely yours: fixed IP address, on 24/7, any plugin and a website possible. The best choice for a community, with a bit of learning.
server.cfg.On Ubuntu, install SteamCMD like this (the 32-bit libraries are for CS:S and CS 1.6):
sudo dpkg --add-architecture i386
sudo add-apt-repository -y multiverse
sudo apt update
sudo apt install -y lib32gcc-s1 lib32stdc++6 steamcmd
sudo useradd -m -s /bin/bash cs
sudo -iu csThe CS2 server uses the same app as the game (730) and weighs about 60 GB. On Linux you need a recent system (Ubuntu 20.04 or newer).
/usr/games/steamcmd +force_install_dir /home/cs/cs2 +login anonymous +app_update 730 validate +quitThen create a game server login token (GSLT) on Steam's game server management page, with app number 730: without it, players cannot join a public server. The Steam account must have a phone number and must not be limited.
cd /home/cs/cs2/game
./cs2.sh -dedicated -port 27015 +game_alias competitive +map de_dust2 +sv_setsteamaccount YOUR_TOKENgame_alias sets the mode: casual, competitive or deathmatch. The settings file is game/csgo/cfg/server.cfg.
The easiest of the three to run, and the one for "fun" communities: parachute, knives, custom maps, anti-pro balancing… It fits on a small VPS.
/usr/games/steamcmd +force_install_dir /home/cs/css +login anonymous +app_update 232330 validate +quit
cd /home/cs/css
./srcds_run -game cstrike -console -port 27015 +maxplayers 24 +map de_dust2The rest (server.cfg, ports, SourceMod, systemd service, updates, security) is detailed command by command in our dedicated guide:
Counter-Strike 1.6 runs on the Half-Life dedicated server (HLDS, app 90). If the download stops before the end, just run the same command again.
/usr/games/steamcmd +force_install_dir /home/cs/cs16 +login anonymous +app_update 90 validate +quit
cd /home/cs/cs16
./hlds_run -game cstrike -port 27015 +maxplayers 20 +map de_dust2Settings go in cstrike/server.cfg; administration and plugins use AMX Mod X (with Metamod).
All three games use port 27015 UDP. With the ufw firewall, allow SSH before enabling the firewall:
sudo ufw allow OpenSSH
sudo ufw allow 27015/udp
sudo ufw enableAdd 27020/udp for spectator TV (SourceTV or CSTV). At home, forward the same port on your router to the server PC. In game, the console and connect IP_ADDRESS:27015 let you test.
Installing the server takes an hour. Keeping it alive takes months: a website for players, rankings, admins with permissions, tracked sanctions, anti-cheat, votes, backups, updates, machine security…
For Counter-Strike: Source, CSS FZ Control takes care of all of this on your own VPS:
Choose the game (CS2, CS:Source or CS 1.6) and a machine that is always on (ideally a Linux VPS), install SteamCMD, download the dedicated server with the game's app number, configure server.cfg, open port 27015 UDP and start the server.
No. Valve's dedicated servers download with SteamCMD using an anonymous login. Players, however, need the game in their Steam library.
A Game Server Login Token, created on Steam's game server management page. It is required for a public Counter-Strike 2 server to be joinable (app 730); it is optional for Counter-Strike: Source.
For CS2, about 65 GB of disk space, 4 fast cores and 8 GB of memory. For CS:Source, 2 cores and 4 GB are enough for 24 to 32 players. CS 1.6 runs on almost any machine.
Yes, to play with friends or on a LAN: forward port 27015 UDP on your router and leave the PC on. For a public server, a VPS is more reliable.
No. SourceMod works on Counter-Strike: Source and other Source 1 games. On CS2, plugins run through Metamod:Source 2 and CounterStrikeSharp. On CS 1.6, AMX Mod X is used.