How to Create a Counter Strike 2 Server Guide
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!)
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.
- Create a folder where you wish to store your Counter-Strike 2 game server hosting files
- Inside of the folder, place the newly downloading SteamCMD.exe file
- Create a batch file named Counter-Strike_2_Install.bat
- 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
- Right-click Counter-Strike_2_Install.bat and Run as Administrator
- Your game server files should be completely downloaded by now
Step 2: Setting up an Counter-Strike 2 Dedicated Server
- Create a batch file named StarServer.bat in your newly created Counter-Strike 2 server folder from step 1
- 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
- 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.
- A console window should now pop up.
- If you have a config in the CS2 cfg location, execute it in the dedicated console on your desktop
exec CONFIG_NAME
- 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.