RCON — Remote Console for Game Servers
RCON (Remote Console) lets you run commands on your game server without being logged into the game. Change settings, ban players, broadcast messages, restart maps — all from a terminal, web panel, or mobile app.
This guide covers how RCON works, which games support it, how to connect, and how to keep it secure.
What is RCON?
RCON is a TCP-based protocol that gives server administrators remote command-line access to a running game server. Think of it as SSH for game servers — you authenticate with a password, then send commands and receive output.
The protocol was originally created by Valve for the Source Engine (Counter-Strike, Half-Life 2), but the concept has been adopted by most multiplayer game servers — sometimes with the exact same protocol, sometimes with game-specific variants.
How It Works
┌──────────┐ ┌──────────────┐
│ Admin │ │ Game Server │
│ (Client) │ │ (RCON Port) │
└─────┬─────┘ └──────┬───────┘
│ │
│ TCP connect to RCON port │
│─────────────────────────────────>│
│ │
│ SERVERDATA_AUTH (password) │
│─────────────────────────────────>