01
Before you start
Offworld Industries (OWI), Squad's publisher, provides the dedicated server for Windows and Linux. Squad is a 100-player game: it is one of the most demanding servers to host. What you need to know before choosing the machine:
- Memory: OWI's licensing policy requires at least 8 GB of RAM per server, plus 4 GB per additional game instance. That is the requirement for licensed servers, but it is a good benchmark for everyone.
- Processor: OWI publishes a list of CPUs tested for hosting, and measures server health in TPS, the number of game updates per second on the server side: above 35, health is considered good; below 15, it is poor.
- Licence: without a licence, the server shows up in the Custom Servers tab of the in-game list. OWI's policy excludes virtual machines (VM, VPS, VDS) from licensing: a server on a VPS therefore stays a custom server, which is perfectly fine for a group of friends, a new community or private events.
- System: the official wiki requires glibc 2.17 or later. This guide uses a Debian 12 or Ubuntu 22.04/24.04 VPS with a
sudo user.
Do the basic security settings first (SSH key, firewall, updates) with the guide securing a Linux VPS, and see which VPS for a game server to size the machine.
02
Install SteamCMD and the server
Create a dedicated user, install the 32-bit library SteamCMD needs, then SteamCMD itself:
sudo apt update
sudo apt install -y lib32gcc-s1 curl
sudo useradd -m -s /bin/bash squad
sudo -iu squad
mkdir -p ~/steamcmd && cd ~/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
~/steamcmd/steamcmd.sh +force_install_dir /home/squad/serveur +login anonymous +app_update 403240 validate +quit
exit
ID 403240 is the Squad server; the public testing server is 774961. To make the server start with the VPS and restart after a crash, create /etc/systemd/system/squad.service with the official wiki's launch line:
[Unit]
Description=Serveur Squad
Wants=network-online.target
After=network-online.target
[Service]
User=squad
WorkingDirectory=/home/squad/serveur
ExecStart=/home/squad/serveur/SquadGameServer.sh Port=7787 QueryPort=27165 beaconport=15000 FIXEDMAXPLAYERS=80 RANDOM=NONE
KillSignal=SIGINT
TimeoutStopSec=60
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now squad
sudo journalctl -u squad -f
The wiki stops the server with Ctrl+C: the service's SIGINT signal is the equivalent. The line's options: Port (game), QueryPort (Steam query), beaconport (to change for each server on the same machine), FIXEDMAXPLAYERS (player cap) and RANDOM (rotation order: ALWAYS, FIRST or NONE). FIXEDMAXTICKRATE additionally caps the server's rate.
03
Server.cfg, Admins.cfg and map rotation
All the settings files are in /home/squad/serveur/SquadGame/ServerConfig. Stop the server before editing them (sudo systemctl stop squad), then edit them as the squad user.
Server.cfg, the general settings:
ServerName="Mon serveur Squad FR"
ShouldAdvertise=true
MaxPlayers=80
NumReservedSlots=2
PublicQueueLimit=25
Tags=language_fr
MapRotationMode=LayerList
ShouldAdvertise: shows the server in the in-game list.
MaxPlayers and NumReservedSlots: the number of slots and those reserved for members (a group with the reserve permission, below).
Tags: keywords separated by spaces, which help players filter the list (language_fr for a French-speaking server).
MapRotationMode: LevelList follows LevelRotation.cfg (maps), LayerList follows LayerRotation.cfg (layers), LayerList_Vote lets players vote at the end of a match, and the _Randomized variants shuffle the list.
A layer is a variant of a map: game mode, objectives, time of day. LayerRotation.cfg holds one per line, optionally followed by the two factions:
Anvil_AAS_v1
Anvil_AAS_v1 USA RDF
The exact layer and faction IDs are in the spreadsheet published by OWI, linked from the official wiki. For voting, the offered layers are listed in LayerVoting.cfg and the flow is set in VoteConfig.cfg.
Admins.cfg declares permission groups, then attaches each administrator, by their 64-bit Steam ID, to a group:
Group=Admin:changemap,balance,chat,kick,ban,cameraman,pause
Group=Moderator:changemap,chat,kick,ban
Group=Whitelist:reserve
Admin=76561198000000001:Admin // Pseudo 1
Admin=76561198000000002:Moderator // Pseudo 2
Bans are in Bans.cfg, and remote administration is set in Rcon.cfg: as long as Password= stays empty, RCON is disabled. Then start the server again with sudo systemctl start squad.
04
Ports and firewall
The official wiki lists the following ports, with the values of the launch line above:
- 7787 and 7788 UDP: the game port and the next one;
- 15000 UDP and TCP: the beacon port;
- 27165 and 27166 UDP and TCP: the Steam query port and the next one;
- 21114: the RCON port, only if you enable it.
sudo ufw allow OpenSSH
sudo ufw allow 7787:7788/udp
sudo ufw allow 15000/udp
sudo ufw allow 15000/tcp
sudo ufw allow 27165:27166/udp
sudo ufw allow 27165:27166/tcp
sudo ufw enable
If you enable RCON, open the port to your own IP address only (sudo ufw allow from VOTRE_IP to any port 21114 proto tcp). The wiki adds that Squad also uses UDP ports above 30000 to talk to each player after they connect, and that these sometimes have to be allowed: if players connect and then lose the link, that is the first lead.
For a second server on the same machine, change Port, QueryPort, beaconport and the RCON port, and open the new ports: see game server ports and hosting several game servers. With two Squad servers, memory and processor go fast.
05
OWI licence, updates and backups
The licence. It puts the server in the main tab of the list. You apply on OWI's licence portal (license.offworldindustries.com); once accepted, OWI sends a key by email, to put in License.cfg. Among the current policy's requirements: at least 10 administrators per server, a server that is always public with no password, regular restarts, approved hardware, and no virtual machine. Read the full policy on the Squad website before applying: it changes from time to time.
Restarts. OWI requires them for licensed servers to keep performance good; they also do a custom server good. A restart every morning at 6 am, in root's crontab (see scheduled tasks on a VPS):
0 6 * * * systemctl restart squad
Updates. When the game is updated, update the server without waiting: your players already have the new version. Back up the configuration first: according to the wiki, an update with validate may restore some files to their original state.
sudo systemctl stop squad
sudo -u squad tar czf /home/squad/squad-config-$(date +%F).tar.gz -C /home/squad/serveur/SquadGame ServerConfig
sudo -iu squad /home/squad/steamcmd/steamcmd.sh +force_install_dir /home/squad/serveur +login anonymous +app_update 403240 validate +quit
sudo systemctl start squad
Backups. Squad keeps no persistent world: all that matters is the ServerConfig folder (settings, administrators, bans, rotations, licence). The archive from the command above is enough; copy it off the VPS and do not share it, since it contains the licence key and the RCON password if they exist.
06
On CloudFive
CloudFive has no ready-made Squad plan: the server is installed on a VPS, as in this guide. The Ryzen VPS, from €5.99 per month, is well suited to a custom server:
- an AMD Ryzen 9 9950X, with DDR5 memory and NVMe storage: a fast core, which is what Squad needs first; choose a plan with at least the 8 GB of memory OWI requires;
- root access and a dedicated IPv4 address;
- basic anti-DDoS protection included. The game-specific filter is part of Premium Protection, a paid option (see protecting a game server from DDoS).
The servers are in France, on our own AS218808 network, monthly with no commitment, with support in French 7 days a week (tickets, Discord, phone). The VPS's gaming uses are summed up on the gaming VPS page.
It is not the right choice if you are aiming for the OWI licence and the main tab: OWI's policy excludes VPSs, so you need a physical machine, with a CPU on OWI's list or approved by OWI (see our dedicated servers, and check the CPU before applying). For another team-based military game, see also creating an Arma Reforger server.
07
Frequently asked questions
How do I create a Squad dedicated server on Linux?
Install SteamCMD, download the server with ID 403240 using an anonymous login, then run SquadGameServer.sh with Port=7787, QueryPort=27165 and beaconport=15000, preferably in a systemd service. Set up the files in SquadGame/ServerConfig and open the ports in the firewall.
Which ports should I open for a Squad server?
According to the official wiki: 7787 and 7788 UDP for the game, 15000 UDP and TCP for the beacon, 27165 and 27166 UDP and TCP for the Steam query, and 21114 for RCON if you enable it. Squad may also use UDP ports above 30000 after players connect.
How much RAM does a Squad server need?
OWI's licensing policy requires at least 8 GB of RAM per server, plus 4 GB per additional instance, with a fast processor. That is the requirement for licensed servers, but it is a good benchmark for a well-filled custom server.
Can I get an OWI licence for a Squad server on a VPS?
No. OWI's licensing policy excludes virtual machines (VM, VPS, VDS): a server on a VPS shows up in the Custom Servers tab. The licence requires approved physical hardware, at least 10 administrators per server and an application on OWI's licence portal.
How do I add an administrator on a Squad server?
In SquadGame/ServerConfig/Admins.cfg, declare a group with its permissions (Group=Admin:changemap,kick,ban…), then add an Admin= line followed by the player's 64-bit Steam ID and the group name. Then restart the server.