DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

How to Run a Squad Dedicated Server on Linux

A complete Linux guide to hosting Squad: size the machine, install and validate AppID 403240 with SteamCMD, configure ServerConfig, open the right ports, run SquadGameServer under systemd, and choose between direct installation and Docker.
Length11 min Posted Quest giverVGSources Team

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can run a Squad dedicated server on a Linux x64 host with SteamCMD, the Linux server AppID 403240, and a systemd service. The reliable setup is: install the required 32-bit libraries, create an unprivileged service account, install and validate the files, configure SquadGame/ServerConfig/, open the correct UDP/TCP ports, and run the process under systemd. Docker with host networking is a practical alternative if you already operate containers.

The figures below are starting points, not guarantees. A current provider guide lists at least 4 vCPUs, 10 GB of RAM and 40 GB of free disk, with 16 GB of RAM recommended for a 100-player server. Map, tick rate, mods, virtualization and host contention all affect the actual player capacity.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What a Linux Squad server needs

The dedicated server is separate from the game client. You do not need to install a graphical desktop or run the client on the machine hosting the server. Use a 64-bit Linux distribution with public network reachability, enough CPU and memory, and a filesystem with room for the game files, logs and backups.

Minimum practical starting point

Resource Starting guidance Qualification
Architecture Linux x64 The installation procedure requires 32-bit compatibility libraries even on a 64-bit host.
CPU 4 or more vCPUs A provider guide’s operational recommendation; not an independent benchmark.
Memory 10 GB or more Use 16 GB as the cited recommendation for a 100-player server.
Storage 40 GB or more free Leave additional room for updates, logs and configuration backups.
Network Publicly reachable IPv4/UDP Carrier-grade NAT, upstream firewalls or a provider’s DDoS policy can prevent inbound connections.

The 10 GB, 4-vCPU and 40 GB figures come from a current hosting guide accessed in 2026, while the 16 GB figure is its recommendation for 100 players. Treat them as planning guidance rather than a guaranteed player count. A busy map, higher tick-rate workload, mods, noisy neighboring virtual machines or CPU throttling can reduce capacity.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Linux client support is a different question

In its Squad Update 9.0 FAQ dated 5 September 2025, Offworld Industries states: Squad doesn’t have a native Linux build, but can be played through Proton. That statement describes the game client. It does not replace the separate Linux dedicated-server installation documented for server operators. Players can use supported client platforms while the server process runs on Linux.

Prepare the Linux host

Install 32-bit compatibility libraries

Package names vary by distribution. On Debian or Ubuntu, the cited Linux procedures use:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo apt update
sudo apt install screen lib32gcc-s1 lib32stdc++6 lib32z1

If your distribution uses different package names, install its equivalents for 32-bit GCC runtime, C++ runtime and zlib support. Resolve these dependencies before troubleshooting the server executable; missing 32-bit libraries commonly cause an immediate startup failure.

Create a dedicated service account

Do not run the game server as root. Create an account used only for the server and give it ownership of the installation directory:

sudo useradd --system --home /opt/squad-server --create-home --shell /usr/sbin/nologin squad
sudo install -d -o squad -g squad /opt/squad-server

If the home directory already exists, the second command still makes its ownership explicit. Keep the account’s privileges limited to the files and ports needed by the server. Use sudo -u squad when running maintenance commands manually so that files created during an update remain readable by the service.

Choose a stable installation path

The examples use /opt/squad-server. You may use another path, but use the same path in SteamCMD, the systemd unit, backup commands and any container bind mounts. Inconsistent paths are a frequent cause of a service that starts in the wrong directory or cannot find its configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install and validate the dedicated server with SteamCMD

Install SteamCMD

Install SteamCMD from your distribution or from Valve’s official SteamCMD package for your distribution. Confirm that the steamcmd command is available to the squad account. The community Linux instructions also describe downloading SteamCMD manually and using screen when you want an interactive session to survive an SSH disconnect.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Run the documented installation command

Log in anonymously and install AppID 403240 into the chosen directory:

steamcmd 
  +login anonymous 
  +force_install_dir /opt/squad-server 
  +app_update 403240 validate 
  +quit

Run it as the service account if SteamCMD is installed for that account:

sudo -u squad steamcmd 
  +login anonymous 
  +force_install_dir /opt/squad-server 
  +app_update 403240 validate 
  +quit

The validate argument checks the downloaded files. Use it on the first installation and whenever you suspect a damaged or incomplete update. When SteamCMD finishes, confirm that the server executable and the SquadGame directory exist beneath /opt/squad-server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Make updates repeatable

Put the same command in a small script rather than relying on a hand-edited shell history:

#!/bin/sh
exec steamcmd 
  +login anonymous 
  +force_install_dir /opt/squad-server 
  +app_update 403240 validate 
  +quit

Store the script somewhere writable only by administrators, make it executable, and run it as squad. Stop the running service before updating so that SteamCMD is not replacing files underneath an active process.

Configure identity, administration and maps

Server configuration lives under /opt/squad-server/SquadGame/ServerConfig/ (or the equivalent path you selected). Keep this directory under versioned or dated backups; it contains the settings that distinguish your server from a fresh installation.

Server.cfg

Use Server.cfg for the server name, password, public address, player limit and team settings. Preserve the file’s existing syntax and capitalization when editing. A private test server can use a password; a public server should have a clear name and an accurate player limit so clients know what they are joining.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Rcon.cfg

Rcon.cfg defines the RCON port and password. RCON is administrative access, not game traffic. Use a strong, unique password and avoid exposing its TCP port to the entire internet when your firewall can restrict it to an administrator’s address range.

Admins.cfg

Add administrator SteamIDs to Admins.cfg, one per line, using the format expected by the installed server files. Keep a private record of which person owns each ID; a typo can leave an operator without privileges.

LayerRotation.cfg

Put map and layer rotation entries in LayerRotation.cfg. Make a small change first, start the server, and inspect the logs before replacing a large rotation. An invalid entry can prevent the intended rotation from loading even when the process itself starts.

Launch parameters

A representative launch command is:

./SquadGameServer 
  Port=7787 
  QueryPort=27165 
  RCONPORT=21114

The port values in this command must match the firewall, router forwarding and any hosting-provider security rules. If you run another instance on the same machine, assign it a distinct game port, query port, RCON port and any other required service ports; two processes cannot listen on the same socket.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Open and forward the network ports

Port requirements differ between installation guides and server builds, so verify the exact list for the build you are running. The following values are the ones documented in the cited guides.

Function Protocol and port How to use the value
Game traffic UDP 7787 Matches the Port=7787 launch argument in the example.
Steam query traffic UDP 27165 Matches QueryPort=27165.
RCON TCP 21114 Matches RCONPORT=21114; restrict source addresses where practical.
Additional values listed by a broader installation guide UDP 7788; TCP and UDP beacon port 15000; query port 27166; possible ephemeral UDP ports above 30000 Do not open these blindly. Confirm whether your server build, instance layout or container documentation requires them.

Host firewall example

For the minimum set in the provider guide, an Ubuntu host using UFW could be configured as follows:

sudo ufw allow 7787/udp
sudo ufw allow 27165/udp
sudo ufw allow 21114/tcp
sudo ufw status verbose

Add the broader set only after confirming it is required by your build. If you do add a range for ephemeral UDP traffic, document why it is open and limit it to the smallest range supported by your environment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Router forwarding and carrier-grade NAT

On a home connection, forward each required port from the public router address to the Linux host’s fixed private address. A correct local rule is not enough if the ISP uses carrier-grade NAT: inbound IPv4 traffic may never reach your router. Ask the ISP for a public address, use a hosting provider with public UDP support, or choose another network arrangement. Test from a network outside your LAN rather than relying only on a local connection.

Run SquadGameServer under systemd

An interactive shell or screen session is useful while testing, but systemd provides automatic startup, restart handling and centralized logs after the server is stable.

Create the unit

Create /etc/systemd/system/squad.service:

[Unit]
Description=Squad dedicated server
After=network-online.target
Wants=network-online.target

[Service]
User=squad
Group=squad
WorkingDirectory=/opt/squad-server
ExecStart=/opt/squad-server/SquadGameServer Port=7787 QueryPort=27165 RCONPORT=21114
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target

The service account, working directory and executable path must match your installation. If you change ports, change them in ExecStart and in every firewall or router rule at the same time.

Enable, start and inspect it

sudo systemctl daemon-reload
sudo systemctl enable squad
sudo systemctl start squad
sudo systemctl status squad
sudo journalctl -u squad -f

enable schedules startup at boot; start launches it now. Leave journalctl -u squad -f running during the first launch so that dependency errors, configuration parsing failures and port conflicts are visible immediately.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check ownership before blaming systemd

If the unit exits but an interactive launch works, compare the two environments. Confirm that squad owns the game directory, that the working directory is correct, and that the service is not trying to write logs or configuration beneath a root-owned path:

sudo chown -R squad:squad /opt/squad-server
sudo -u squad sh -c 'cd /opt/squad-server && ./SquadGameServer Port=7787 QueryPort=27165 RCONPORT=21114'

Stop the interactive process before starting the systemd unit, otherwise the test process may already be holding the required ports.

Updates, backups and routine maintenance

Back up configuration before changes

The most important backup is SquadGame/ServerConfig/. A simple dated archive is:

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
sudo mkdir -p /var/backups/squad
sudo tar -C /opt/squad-server -czf /var/backups/squad/serverconfig-$(date +%F).tar.gz SquadGame/ServerConfig

Copy backups off the host if losing the machine would also lose the only copy. Test an archive by listing it with tar -tzf; a backup that cannot be read is not a recovery plan.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Perform a controlled update

  1. Stop the service: sudo systemctl stop squad.
  2. Back up SquadGame/ServerConfig/ and note the current server version.
  3. Run SteamCMD with +app_update 403240 validate as the squad account.
  4. Start the service: sudo systemctl start squad.
  5. Watch sudo journalctl -u squad -f and confirm that the expected ports are listening.

Schedule updates during a maintenance window. Validation can take longer after a large patch, and players should not be left connected while files are being replaced.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot the common failure modes

The process exits immediately

  • Check 32-bit dependencies: confirm that the distribution equivalents of lib32gcc-s1, lib32stdc++6 and lib32z1 are installed.
  • Read the first error, not only the final systemd status: sudo journalctl -u squad -b --no-pager.
  • Verify ownership and write permissions for the installation and ServerConfig directories.
  • Run the same command as squad from the declared working directory to expose path or permission differences.

SteamCMD cannot complete the install or update

  • Confirm that the command uses AppID 403240 and the intended +force_install_dir.
  • Run validate again after checking free disk space and network access.
  • Do not start the server until SteamCMD has returned to its prompt and exited; a partially updated directory can produce misleading runtime errors.

The server starts but nobody can connect

  • Use ss -lntup to confirm that the process is listening on the configured ports.
  • Check both the Linux firewall and the upstream provider or router firewall.
  • Verify that the forwarded destination address has not changed.
  • Test from outside the local network. A successful LAN connection does not prove that public routing or NAT is correct.
  • Recheck the build-specific port list, including any required beacon or additional query ports.

RCON or administrator access does not work

  • Confirm that the RCON port and password in Rcon.cfg agree with the launch and firewall settings.
  • Check that SteamIDs in Admins.cfg are one per line and contain no accidental whitespace or formatting changes.
  • Review the service log after each configuration change, then restart the service so it reloads the files.

Docker as an alternative

A documented CM2Walki container image provides another operating model. It is most attractive when your Linux host already uses Docker for backups, monitoring and deployment. Host networking avoids a second layer of port translation, while persistent bind mounts keep the game files and SquadGame/ServerConfig/ outside the disposable container filesystem.

Settings the container exposes

Environment variable Purpose
PORT Game traffic port.
QUERYPORT Steam query port.
BEACONPORT Beacon service port where required by the image and server build.
RCONPORT RCON TCP port.

Run each instance with separate port values and separate persistent storage. The image supports optional CPU pinning, which can help operators reserve particular host CPUs, and can update the game automatically when the container restarts. Automatic updates are convenient but reduce change control: use a maintenance policy and keep configuration backups before restarting into a new version.

Direct installation versus Docker

Consideration SteamCMD plus systemd Docker with host networking
Operational familiarity Best for administrators comfortable with Linux services and files. Best if Docker is already part of the host’s normal operations.
Updates Explicit stop, SteamCMD update and restart; easy to schedule and audit. Can update on container restart, depending on image settings.
Persistence Game and configuration files live directly on the host. Requires deliberate bind mounts for game data and ServerConfig.
Multiple instances Use separate systemd units, directories and ports. Use separate containers, storage and ports; isolation is clearer.
CPU control Rely on systemd and host-level controls. Optional CPU pinning is documented by the image.
Logs and inspection journalctl, ps and ss show the service directly. Use container logs in addition to host process and socket checks.
Firewall diagnosis One host process and its listening sockets are straightforward to inspect. Host networking avoids NAT, but you still need to track each container’s ports.

Choose the direct installation when you want the fewest layers and the clearest systemd audit trail. Choose Docker when persistent storage, repeatable container deployment and multi-instance isolation matter more than direct host-level simplicity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Self-hosting or a VPS?

The software procedure is the same, but the network and operational risks differ.

Decision factor Home or owned hardware VPS or game host
CPU and RAM Depends on the machine and other workloads. Check the provider’s actual vCPU type, memory allocation and contention policy.
Public IPv4 and UDP May be blocked by CGNAT or an ISP router. Confirm public IPv4, inbound UDP and any anti-DDoS restrictions before ordering.
Latency Usually follows your ISP and physical location. Choose a region close to the intended player base.
Backups You must provide and test them. Verify whether snapshots or independent backups exist and what they cover.
Cost Uses existing hardware and connection but consumes electricity and bandwidth. Has a recurring monthly charge; compare the full cost, not only the advertised CPU figure.

Before committing to a provider, confirm the four resource starting points, public UDP availability, permitted game-server traffic, backup controls and the ability to open the exact ports your build requires. No universal player-capacity number is established by an independent benchmark; treat provider sizing as guidance and monitor CPU, memory, tick behavior and connection quality after launch.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.