Counter-Strike 2

Counter-Strike 2 uses a shared TCP+UDP game port and an additional UDP port for server traffic. Swarm Hosts stores the dedicated server files under /home/steam/cs2-dedicated.

Quick Facts

  • Image: swarmhosts/games:cs2-game-runtime-detected-stable-2026.05.07
  • Persistent data: /home/steam/cs2-dedicated
  • Default ports: 27015/tcp, 27015/udp, 27020/udp
  • Required setup: SRCDS_TOKEN

Launch Notes

  1. Choose Counter-Strike 2.
  2. Set SRCDS_TOKEN from Steam's game server account tooling.
  3. Set CS2_SERVERNAME, CS2_RCONPW, and any optional password or slot limit values.
  4. Swarm Hosts waits for a Source query response on the published UDP port before promoting the deployment to Running.

Connect

Players can join from the CS2 console with:

connect <host>:<published-port>