Squad
Updated May 14, 2026
Squad Server RCON Setup
Configure RCON on your Squad server using Rcon.cfg. Squad uses the Source RCON protocol on TCP/UDP 21114. Run admin commands remotely without joining the game.
SquadRCONremote consoleadminRcon.cfg21114
Squad Server RCON
RCON lets you run admin commands remotely without joining the game. Squad uses the Source RCON protocol on port 21114.
Configuring RCON
Create or edit SquadGame/ServerConfig/Rcon.cfg (while server is stopped):
Password=YourStrongRconPassword
Port=21114
Also set RconPassword= in Server.cfg to match.
Make sure TCP and UDP port 21114 are open in your firewall:
sudo ufw allow 21114/tcp
sudo ufw allow 21114/udp
Connecting with a Source RCON Client
Using rcon-cli:
rcon-cli --host YOUR_SERVER_IP --port 21114 --password YourPassword ListPlayers
Using mcrcon:
mcrcon -H YOUR_SERVER_IP -P 21114 -p YourPassword "ListPlayers"
Interactive session:
mcrcon -H YOUR_SERVER_IP -P 21114 -p YourPassword
> ListPlayers
> AdminKick "PlayerName" Reason
> AdminChangeLayer AlBasrah_AAS_v1
> exit
Common RCON Commands
| Command | Example | Description |
|---|---|---|
ListPlayers |
ListPlayers |
List all connected players with IDs |
AdminKick |
AdminKick "Name" "Reason" |
Kick a player |
AdminBan |
AdminBan "Name" 1h "Reason" |
Ban for duration (1m, 1h, 1d, 0 = permanent) |
AdminChangeLayer |
AdminChangeLayer AlBasrah_AAS_v1 |
Change layer immediately |
AdminSetNextLayer |
AdminSetNextLayer Fallujah_RAAS_v1 |
Set the next layer in rotation |
AdminBroadcast |
AdminBroadcast "Server restarts in 10 min" |
Broadcast message to all players |
AdminForceTeamChange |
AdminForceTeamChange "PlayerName" |
Force a player to switch teams |
AdminDisbandSquad |
AdminDisbandSquad 1 2 |
Disband team 1, squad 2 |
AdminEndMatch |
AdminEndMatch |
End the current match |
Community RCON Tools
- SquadJS — JavaScript framework for Squad server automation. Connects via RCON and provides Discord integration, automatic team balance, seeding management, and more.
Security
- Use a long, unique password
- Restrict port 21114 to your admin IP at the firewall level if possible:
sudo ufw allow from YOUR_ADMIN_IP to any port 21114 sudo ufw deny 21114
Back to Knowledgebase
Need help?
Submit a Ticket →