Squad is a multiplayer game server that can be hosted on a VPS or dedicated server. This comprehensive guide covers everything you need to know about hosting a Squad server for your community.
Varies (see configuration)403240SquadGame/ServerConfig/Server.cfg - Server ConfigurationsSquadGame/ServerConfig/Rcon.cfg - RCON ConfigurationsSquadGame/ServerConfig/Admins.cfg - Admin ConfigurationsSquadGame/ServerConfig/MapRotation.cfg - Map Rotation ConfigurationsSquadGame/ServerConfig/ServerMessages.cfg - Server Messages ConfigurationsThe Squad server typically uses a configurable port. Check your server configuration files for the specific port settings.
Allow server ports through your firewall:
# UFW (Ubuntu/Debian)
sudo ufw allow [PORT]/tcp
sudo ufw allow [PORT]/udp
sudo ufw reload
# FirewallD (CentOS/RHEL)
sudo firewall-cmd --permanent --add-port=[PORT]/tcp
sudo firewall-cmd --permanent --add-port=[PORT]/udp
sudo firewall-cmd --reload
# Windows Firewall
netsh advfirewall firewall add rule name="Squad Server" dir=in action=allow protocol=TCP localport=[PORT]
netsh advfirewall firewall add rule name="Squad Server" dir=in action=allow protocol=UDP localport=[PORT]
# Update system packages
sudo apt update && sudo apt upgrade -y
# Create server directory
mkdir -p ~/gameserver
cd ~/gameserver
# Download server files (method varies by game)
# Check official documentation for download links
Download the server files from the official game website or through Steam (if applicable). Extract to a dedicated folder and run the server executable.
This game can be installed via SteamCMD using App ID: 403240
# Update package list
sudo apt update
# Enable 32-bit architecture
sudo dpkg --add-architecture i386
sudo apt update
# Install SteamCMD
sudo apt install -y lib32gcc-s1 steamcmd
# Create directory for game server
mkdir -p ~/gameservers/squad
# Run SteamCMD and download
steamcmd +login anonymous \
+force_install_dir ~/gameservers/squad \
+app_update 403240 validate \
+quit
# Server files are now in ~/gameservers/squad/
cd ~/gameservers/squad
ls -la
C:\steamcmd\cd C:\steamcmd
steamcmd.exe +login anonymous ^
+force_install_dir C:\gameservers\squad ^
+app_update 403240 validate ^
+quit
After installation, you'll need to configure your server. Here's where to find the configuration files and what settings you can change.
Important configuration files for this server:
SquadGame/ServerConfig/Server.cfg - Server ConfigurationsSquadGame/ServerConfig/Rcon.cfg - RCON ConfigurationsSquadGame/ServerConfig/Admins.cfg - Admin ConfigurationsSquadGame/ServerConfig/MapRotation.cfg - Map Rotation ConfigurationsSquadGame/ServerConfig/ServerMessages.cfg - Server Messages ConfigurationsCommon administrative commands (access via console or RCON):
# Kick player
kick [player_name]
# Ban player
ban [player_name]
# Change map/level (syntax varies by game)
changelevel [map_name]
# Set admin password (if supported)
setadminpassword [password]
The server uses the following command line template:
%IP% %PORT% %QUERY_PORT% %PLAYERS% %TICKRATE% %MAP% -log
The following parameters can be configured when starting the server:
FIXEDMAXTICKRATE=
- FIXEDMAXTICKRATE=
MAX server tickrate.
Default: 50
RANDOM=
- RANDOM=
Randomize map rotation.
Options:
ALWAYS - AlwaysFIRST - FirstNONE - NoneLinux (start.sh):
#!/bin/bash
cd /path/to/server
./server_executable [parameters] 2>&1 | tee server.log
chmod +x start.sh
./start.sh
Windows (start.bat):
@echo off
cd /d "%~dp0"
server_executable.exe [parameters]
pause
Linux (systemd):
# Create service file: /etc/systemd/system/gameserver.service
[Unit]
Description=Squad Server
After=network.target
[Service]
Type=simple
User=gameserver
WorkingDirectory=/home/gameserver/server
ExecStart=/home/gameserver/server/start.sh
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
# Enable and start service
sudo systemctl daemon-reload
sudo systemctl enable gameserver
sudo systemctl start gameserver
sudo systemctl status gameserver
# View recent log entries
tail -f server.log
# Or check system logs
journalctl -u gameserver -f
# Find what's using the port
sudo lsof -i :[PORT]
sudo netstat -tulpn | grep [PORT]
# Kill the process or change server port
Ensure all required dependencies are installed. Check the error messages for missing libraries or packages.
ps aux | grep servernetstat -an | grep [PORT]htop or topiotop# Monitor memory usage
free -h
top -p $(pgrep -f server)
# Restart server regularly via cron if needed
0 4 * * * /home/gameserver/restart.sh
# Increase file descriptor limits
echo "* soft nofile 65536" >> /etc/security/limits.conf
echo "* hard nofile 65536" >> /etc/security/limits.conf
# Network tuning
sysctl -w net.core.rmem_max=16777216
sysctl -w net.core.wmem_max=16777216
sysctl -w net.ipv4.tcp_rmem="4096 87380 16777216"
sysctl -w net.ipv4.tcp_wmem="4096 87380 16777216"
Set up monitoring to track server health:
#!/bin/bash
# backup.sh - Run via cron
DATE=$(date +%Y%m%d_%H%M%S)
BACKUP_DIR="/backups/gameserver"
SERVER_DIR="/home/gameserver/server"
# Create backup
tar -czf $BACKUP_DIR/backup_$DATE.tar.gz -C $SERVER_DIR .
# Keep only last 7 days
find $BACKUP_DIR -name "backup_*.tar.gz" -mtime +7 -delete
# Minimal firewall - only allow necessary ports
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow [SERVER_PORT]/tcp
sudo ufw allow [SERVER_PORT]/udp
sudo ufw allow 22/tcp # SSH
sudo ufw enable
Last updated: November 2025 | For Squad server hosting