NolimitHost
Last updated: March 29, 2026
Counter-Strike 2 allows you to host free dedicated servers using Valve's SteamCMD. You only pay for your VPS hosting, not per-player server fees.
Update packages:
sudo apt update && sudo apt upgrade -y && sudo reboot
Wait for reboot, then create a dedicated user (never run as root):
sudo adduser steam
sudo usermod -aG sudo steam
su - steam
CS2 uses multiple ports for different functions:
sudo ufw allow 27015/udp comment 'CS2 Game'
sudo ufw allow 27015/tcp comment 'RCON'
sudo ufw allow 27005/udp comment 'Client'
sudo ufw allow 27020/udp comment 'SourceTV'
sudo ufw allow 27036/tcp comment 'Remote Play'
sudo ufw allow 3478/udp comment 'NAT'
sudo ufw allow 4379:4380/udp comment 'Matchmaking'
sudo ufw allow 22/tcp comment 'SSH'
sudo ufw enable
Verify:
sudo ufw status
Install required libraries:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y lib32gcc-s1 libstdc++:i386 libcurl4-gnutls-dev:i386
Download and extract SteamCMD:
mkdir ~/steamcmd && cd ~/steamcmd
wget -q https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
Download the Counter-Strike 2 dedicated server (~30GB, 10-15 minutes):
cd ~/steamcmd
./steamcmd.sh +login anonymous +app_update 740 validate +quit
Files install to ~/steamcmd/cs2-ds/
To appear in the server browser, you need a Game Server Login Token:
Create a config directory:
mkdir -p ~/cs2-server/csgo/cfg
cd ~/cs2-server
Create ~/cs2-server/csgo/cfg/server.cfg:
nano ~/cs2-server/csgo/cfg/server.cfg
Add basic settings:
hostname "Your Server Name"
mp_maxmoney 16000
mp_startmoney 2400
mp_roundtime 1.92
mp_freezetime 15
game_type 1
game_mode 0
rcon_password "your_rcon_password"
Create a screen session:
screen -S CS2Server
Start the server (replace YOUR_IP and YOUR_GSLT):
cd ~/steamcmd/cs2-ds/game
./bin/linuxsteamrt64/cs2 -dedicated -ip YOUR_IP -port 27015 \
+map de_mirage +sv_setsteamaccount YOUR_GSLT
Detach: Ctrl+A D
In Counter-Strike 2:
connect YOUR_IP:27015Reconnect:
screen -r CS2Server
Common commands:
status - List playerschangelevel de_dust2 - Change mapsay Hello! - Broadcast messagequit - Shut down serverMonitor performance:
top
Press Q to exit.
topsudo ufw status
For CS2 server setup assistance, please open a support ticket through your billing panel.
This website uses cookies to ensure security, session management, and basic functionality. For details on all cookies used and how to manage your preferences, please see our Privacy Policy.