How to Create a Counter Strike 2 Server Guide

From Survival Servers
Revision as of 20:56, 14 October 2026 by Ryan (talk | contribs) ([wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description)
Jump to navigation Jump to search

Creating an Counter-Strike 2 game server is an easy process that can be done from either a dedicated server or your home computer. Alternatively, you can choose a rented Counter-Strike 2 server plan that will fit your needs.

Option #1: Renting an Counter-Strike 2 server (see example Command Center below!)

Counter-Strike 2 server details with the Address row, the server's IP and port, outlined in gold.
A Counter-Strike 2 server's page in the Command Center.

Option #2: Creating an Counter-Strike 2 Server From Your Home Computer or Dedicated Server

Server Requirements

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

Quad Core processor (requires up to 2 full cores)

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

70GB disk space (install folder)

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

Step 1: Fetching Game Server files

The best method to get dedicated server game files is via the dedicated server depot on Steam via SteamCMD.

  1. Create a folder where you wish to store your Counter-Strike 2 game server hosting files
  2. Inside of the folder, place the newly downloading SteamCMD.exe file
  3. Create a batch file named Counter-Strike_2_Install.bat
  4. Place the following code in this 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. Your game server files should be completely downloaded by now

Step 2: Setting up an Counter-Strike 2 Dedicated Server

  1. Create a batch file named StarServer.bat in your newly created Counter-Strike 2 server folder from step 1
  2. Place the following code in this 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 pop up.
  3. If you have a config in the CS2 cfg location, execute it in the dedicated console on your desktop
    exec CONFIG_NAME
  4. For information on connecting to your server go check out our How to Join a Private Counter Strike 2 Server page!

Step 3: Port Forwarding

Add an incoming rule to your Windows Firewall to allow TCP/UDP port (game port and Steam query port) 27015 (or whichever port you decide to use)

You may also need to add a forwarding rule to your network router. You can use PortForward.com to read how to do this.