Run a CS2 dedicated server on your own PC

A Counter-Strike 2 server for scrims, practice and nights with friends, running on your hardware and controlled from your browser.

Free for 1 server · Linux & Windows · Runs on your hardware

Counter-Strike 2 dedicated server

A private Counter-Strike 2 server gives your team a place to practice, run scrims or just play your own rules with friends. Running it yourself means setting up SteamCMD, keeping the build current and remembering a pile of console commands. HostMode takes care of the setup and gives you a dashboard to control the rest.

Install the open-source HostMode agent on a Linux PC, or on Windows with Docker Desktop and WSL2, and your CS2 dedicated server runs on that machine. You manage it from hostmode.net in any browser, including on your phone between rounds: start and stop it, change the map, send RCON commands and pull the latest game build.

One server is free on the Solo plan, with every feature included.

RCON console in the browser

The live console accepts commands over RCON, so you can change cvars, kick a player or restart the round without opening the game.

Change Map in one action

Switch the server to a different map straight from the dashboard, handy when your group moves from aim practice to a competitive map.

Force Update after CS2 patches

When Valve ships an update and clients can no longer join, Force Update pulls the latest server build so you are back in sync.

Light on resources

CS2 servers start with 2 GB of RAM in HostMode, so a spare PC can often run one alongside other servers, each with its own port block.

hardware

What your Counter-Strike 2 server needs

HostMode installs the CS2 server for you on Linux, or on Windows through Docker Desktop with WSL2.

Default RAM in HostMode
2 GB
Operating system
Linux, or Windows with Docker Desktop + WSL2
Ports reserved per server
Block of 4, UDP + TCP
Console
Live output plus RCON commands

Competitive shooters reward a steady connection and a responsive CPU. More players and plugins mean more load, so a faster CPU and extra RAM help. Your home upload speed matters too, since every player connects to your machine. See hostmode.net/docs/getting-started/requirements for the agent itself.

networking

Ports for Counter-Strike 2

Each CS2 server gets its own free block of ports from HostMode, so you can run more than one without conflicts. The dashboard shows the exact numbers. Players connect directly to your PC, so you must forward those ports on your router (or use a machine with a public IP) before anyone outside your network can join.

Used forProtocol
Game traffic and RCONUDP + TCP

Use the port forwarding guide at hostmode.net/docs/configuration/network and the exact ports listed in your dashboard. The dashboard itself connects outbound and needs no open port, but the game does.

mods

Configs, maps and plugins

There is no one-click mod or plugin browser for CS2 in HostMode. You can upload or edit config files, custom maps and add-on files with the dashboard's file manager, or over SFTP if you prefer your own tools.

The file manager can zip and unzip archives in place, which makes it easier to drop in a set of practice configs. Take a backup before big changes so you can restore the previous state in one click.

settings

Change Counter-Strike 2 settings without editing files

The CS2 settings page covers the basics most private servers need, with the full config files available in the editor.

  • Hostname
  • Max players
  • Server password
  • RCON password
  • Start map
  • Game type
  • Change Map and Force Update actions
  • Config file editing for everything else

setup

How to set up a Counter-Strike 2 server

  1. 1

    Sign up for free

    Create your account at hostmode.net/register. The Solo plan includes one server on one machine.

  2. 2

    Install the agent

    Install the HostMode agent on the PC that will run the server, following hostmode.net/docs/getting-started/installation.

  3. 3

    Create a Counter-Strike 2 server

    Choose CS2 in the dashboard. The agent downloads the server and reserves a port block.

  4. 4

    Set hostname, passwords and match settings

    Fill in the hostname, max players, server password and RCON password, then pick a start map and game type.

  5. 5

    Forward the ports and connect

    Forward the UDP and TCP ports the dashboard lists, start the server, and share your address with your team.

Game Server Login Token and public listing

If you want your CS2 server to show up publicly, Valve typically expects a Game Server Login Token (GSLT), which you create yourself with your Steam account on Steam's game server account management page. HostMode does not create the token for you.

For a private server that friends join by address, with a password set, many groups never need the public listing at all.

A practice and scrim server your team can share

Invite teammates to your HostMode team with roles and permissions, so your captain or coach can change the map or restart the server without needing your login. The activity log records who did what.

Add the Discord bot to your team channel for a live status board with start, stop and restart buttons, plus notifications when the server starts, stops or crashes. If it crashes, you also get an email with a plain-English explanation of what went wrong.

on every plan

Everything else, built in.

Every plan, free included, gets every feature. Plans differ only in machines, servers and teammates.

  • Start, stop and restart from any browser or your phone
  • Live console output in the browser
  • File manager and SFTP access
  • One-click and scheduled backups, with restore
  • Crash explanations and email alerts
  • Discord bot with a live status board and buttons
  • Invite friends with roles and permissions
  • Run several servers on one machine

questions

Counter-Strike 2 server FAQ

How do I host a CS2 dedicated server?

+

Install the HostMode agent on your PC, create a Counter-Strike 2 server in the dashboard, set a hostname and passwords, forward the ports shown, and start it.

Do I need a GSLT for a CS2 server?

+

For a publicly listed server, Valve typically requires a Game Server Login Token, which you generate yourself through Steam. HostMode does not generate it for you.

Do I need to port forward to host a CS2 server?

+

Yes. Players connect directly to your machine, so the UDP and TCP ports HostMode assigns must be forwarded on your router, or the machine needs a public IP. HostMode does not get around CGNAT.

How do I change the map on my CS2 server?

+

Use the Change Map action in the dashboard, or send a command through the RCON console. You can also set the start map in the settings.

Can I run RCON commands from the browser?

+

Yes. The CS2 console in the HostMode dashboard sends commands over RCON, from a desktop browser or your phone.

Is a CS2 server free on HostMode?

+

One server is free on the Solo plan, with every feature. Paid plans are monthly or yearly if you want more servers; see hostmode.net/pricing.

Looking for a Counter-Strike 2 server to join?

Browse Counter-Strike 2 servers HostMode players have listed on Discover.

Browse servers

Your Counter-Strike 2 server, your hardware.

Install the agent, pick Counter-Strike 2, and manage it from anywhere. Your first server is free.