How to Create a Counter Strike 2 Server Guide
Rent a Counter-Strike 2 server from Survival Servers, or host it yourself.
Option #1: Renting a Counter-Strike 2 server
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.
- Create a folder for your Counter-Strike 2 server files
- Put the SteamCMD.exe file you downloaded in that folder
- Create a batch file named Counter-Strike_2_Install.bat
- 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
- Right-click Counter-Strike_2_Install.bat and Run as Administrator
- When the SteamCMD window closes, the server files are downloaded.
Step 2: Setting up a Counter-Strike 2 dedicated server
- Create a batch file named StarServer.bat in the Counter-Strike 2 server folder from Step 1
- 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
- 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 open.
- If you have a config file in the CS2 cfg folder, run it in the server console on your desktop:
exec CONFIG_NAME
- 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.