How to Create a Counter Strike 2 Server Guide

From Survival Servers
Revision as of 12:11, 19 November 2026 by Ryan (talk | contribs) ([wiki:wiki-operator] Fixes from the review of the rewording: claims, example addresses, names and wording (approved by Ryan, Nov 19))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Rent a Counter-Strike 2 server from Survival Servers, or host it yourself.

Option #1: Renting a Counter-Strike 2 server

Counter-Strike 2 server details with the Address row, the server's IP and port, outlined in gold.
The Game Server page for a Counter-Strike 2 server in the Command Center.

Option #2: Hosting a Counter-Strike 2 server yourself

Server requirements

Windows 10, 11, Server 2016, Server 2019 & 64-Bit

Quad Core processor (requires up to 2 full cores)

Up to 19GB memory (usage depends on the FPS)

70GB disk space (install folder)

Steam installed on the same PC (the server needs it to start)

Step 1: Download the server files

The best way to get the server files is with SteamCMD.

  1. Create a folder for your Counter-Strike 2 server files
  2. Put the SteamCMD.exe file you downloaded in that folder
  3. Create a batch file named Counter-Strike_2_Install.bat
  4. Put this code in the batch file:
@echo off
start "" "C:\Users\UserName\Desktop\Counter-Strike 2\steamcmd.exe" +force_install_dir C:\Users\UserName\Desktop\Counter-Strike-2 +login anonymous +app_update 730 +quit
  1. Right-click Counter-Strike_2_Install.bat and Run as Administrator
  2. When the SteamCMD window closes, the server files are downloaded.

Step 2: Setting up a Counter-Strike 2 dedicated server

  1. Create a batch file named StarServer.bat in the Counter-Strike 2 server folder from Step 1
  2. Put this code in the batch file:
cd C:\Users\UserName\Desktop\Counter-Strike-2\game\bin\win64\
start /wait /REALTIME cs2.exe -dedicated -usercon +game_type 0 +game_mode 1 +map de_inferno +sv_setsteamaccount YOUR_TOKEN
  1. Replace YOUR_TOKEN with a free Steam server token (GSLT). Create one with App ID 730 on Steam's game server account page. Without it, other players can't join your server.
  2. A console window should now open.
  3. If you have a config file in the CS2 cfg folder, run it in the server console on your desktop:
    exec CONFIG_NAME
  4. How to connect to your server: How to Join a Private Counter Strike 2 Server.

Step 3: Port forwarding

Add an incoming rule to Windows Firewall that allows TCP/UDP port 27015, the game port and Steam query port (or whichever port you use).

You may also need to open the port on your home router. PortForward.com shows how.