CS2 dedicated server settings
Set the mode, map, player limit, bots, password, and optional Steam login token for your Counter-Strike 2 server.
- A CS2 server in your group
- A group owner or operator
- About 5 minutes
The short version
Edit a server’s configuration in the dashboard, then restart the server to apply changes. A CS2 server has no save file, but Varde carries its ban lists when hosting moves.
Settings checklist
0 of 4
Server settings
server_nameis required. It is the name players see in the server.passwordis optional. It is stored as a secret setting.game_modeacceptscasual,competitive,wingman,arms_race, anddeathmatch. The default iscompetitive.mapdefaults tode_dust2. Any map name can be entered. Stock maps includede_mirage,de_inferno, andde_nuke.max_playersdefaults to 10 and accepts 2 to 64 players.botsdefaults to 0 and accepts 0 to 64. A positive quota follows CS2’s player-join and hibernation policy, so an empty server’s bot count may not immediately match the quota.gsltis an optional Steam Game Server Login Token. Create one for app 730 at Steam’s Game Server Account Management page. Without a token, CS2 reports the server as LAN only. Connections through Varde count as local.
Network access and host moves
Varde exposes only UDP port 27015 for CS2. RCON and SourceTV are not reachable through Varde. CS2 has no save to carry, so a match in progress restarts when another PC takes over. Varde does carry banned_user.cfg and banned_ip.cfg to the next host.
What Varde touches in your install
Varde briefly creates varde_<server-id>.cfg while launching the server and removes it after healthy startup, leaves the empty .varde_<server-id>.cfg.lock sidecar behind, and never overwrites your existing config or ban files. CS2 creates or rewrites steam_appid.txt and rewrites boot.vcfg without changing its contents.
Linux host notes
The packaged Linux service runs as user varde with ProtectHome, so it cannot read a Steam install inside your home folder by default. Run the agent as your desktop user, or have an administrator expose the Steam libraries read only and set VARDE_CS2_DIR to the CS2 install or VARDE_STEAM_DIR to an additional Steam root.
Varde checks common Steam locations including ~/.local/share/Steam, ~/.steam/steam, and Steam’s Flatpak library at ~/.var/app/com.valvesoftware.Steam/.local/share/Steam.
Troubleshooting
The server stays starting or changes to failed
On Windows, confirm Windows Firewall is on. Check that CS2 is installed through Steam and that Varde can find its install. Confirm the host has at least 4 GB of free memory. Without a Steam install, allow for the SteamCMD download and its disk budget.A friend cannot connect
Varde must be running on the player’s PC. Copy the current address from the dashboard and use it exactly, including port27015if it is shown.CS2 says the server is LAN only
Add a Steam Game Server Login Token for app 730 ingslt, then restart the server. Without a token, CS2 reports LAN only even though connections through Varde count as local.
What’s next
Start with the CS2 hosting guide, see the general host guide, or learn about the plugin system.