
Counter-Strike: Source blends Counter-Strike's award-winning teamplay action with the advanced technology of Source™ technology.
Here's what you need to run a Counter-Strike: Source dedicated server.
Small server, 2-12 players
Medium server, 12-24 players
Large server, 24-32 players
Start hosting from your own computer
Run a Counter-Strike: Source server on your desktop, laptop, VPS, or dedicated machine — GameCP automates Docker setup, resource allocation, and Counter-Strike: Source configuration instantly. Automatic port forwarding means your friends can connect without touching your router. Start local, scale to a VPS when you're ready.
Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.
The full manual process to host a Counter-Strike: Source dedicated server on a VPS. Or install GameCP on your own computer and skip all of this.
Set your server settings, then install Docker, SteamCMD, and pull the Counter-Strike: Source container image.
# Update system and install Docker sudo apt update && sudo apt install -y docker.io sudo systemctl enable --now docker # Create game server directory sudo mkdir -p /opt/gameserver # Install SteamCMD sudo mkdir -p /opt/steamcmd curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | sudo tar zxvf - -C /opt/steamcmd # Server configuration export MAX_PLAYERS="20" export SRCDS_MAP="de_dust2" export AUTO_UPDATE="1" # Pull the container image docker pull ghcr.io/ptero-eggs/steamcmd:debian
Download the Counter-Strike: Source dedicated server using Steam App ID 232330.
# Download Counter-Strike: Source server files (App ID: 232330) /opt/steamcmd/steamcmd.sh \ +force_install_dir /opt/gameserver \ +login anonymous \ +app_update 232330 validate \ +quit
Counter-Strike: Source requires 1 port to be open for game traffic and queries.
sudo ufw allow 27015/both
Start the Counter-Strike: Source server using the configuration from Step 1.
Create the startup script
# Create the startup script cat > /opt/gameserver/start.sh << 'EOF' ./srcds_run -game cstrike \ -console \ -usercon \ -port 27015 \ +map de_dust2 \ +sv_setsteamaccount \ +ip 0.0.0.0 \ +hostname "" \ -strictportbind \ -norestart \ -tickrate 66 EOF chmod +x /opt/gameserver/start.sh
Run the container
docker run -d \ --name counter-strike-source-server \ -p 27015:27015/both \ -e MAX_PLAYERS="20" \ -e SRCDS_MAP="de_dust2" \ -e AUTO_UPDATE="1" \ -v /opt/gameserver:/opt/gameserver \ -w /opt/gameserver \ ghcr.io/ptero-eggs/steamcmd:debian \ ./start.sh
Alternative startup profiles:
GameCP lets you switch between these profiles with one click.
GameCP automates every step above: Docker, SteamCMD, port forwarding, startup, and config. Install on your own PC and deploy a Counter-Strike: Source server in under 5 minutes.
Deploy with GameCPExplore step-by-step setup guides for other popular games supported by GameCP.
Install GameCP on your own computer and start hosting in minutes. Automatic port forwarding, zero config — your friends connect instantly.
No credit card required · Free tier available · Install local, scale later