How to Set Up a Mordhau Dedicated Server
Install a Mordhau dedicated server on Linux using SteamCMD (AppID 629800). Covers anonymous login, the MordhauServer-Linux-Shipping binary, required launch flags, and first-run config generation.
Mordhau Dedicated Server Setup
Mordhau dedicated servers run natively on Linux — no Wine required. Installation is handled by SteamCMD with anonymous login.
Step 1 — Install SteamCMD
sudo apt-get install lib32gcc-s1 -y
mkdir ~/steamcmd && cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
Step 2 — Download the Server Files
Mordhau's dedicated server AppID is 629800. Anonymous login is supported — no Steam account needed.
~/steamcmd/steamcmd.sh \
+force_install_dir /home/steam/mordhau \
+login anonymous \
+app_update 629800 validate \
+quit
The download is several GB. Always use validate on the first install to ensure file integrity.
Step 3 — Locate the Server Binary
After the download completes, the server executable is at:
/home/steam/mordhau/Mordhau/Binaries/Linux/MordhauServer-Linux-Shipping
Make it executable if needed:
chmod +x /home/steam/mordhau/Mordhau/Binaries/Linux/MordhauServer-Linux-Shipping
Note: The Linux server binary is 32-bit only. On 64-bit systems you may need 32-bit compatibility libraries:
sudo apt-get install lib32stdc++6 -y
Step 4 — First Launch
Run the server to generate the default config files:
cd /home/steam/mordhau
./Mordhau/Binaries/Linux/MordhauServer-Linux-Shipping FFA_Cortile \
-Port=7777 \
-BeaconPort=15000 \
-QueryPort=27015 \
-MultiHome=0.0.0.0 \
-log
The first launch creates:
Mordhau/Saved/Config/LinuxServer/Game.ini
Mordhau/Saved/Config/LinuxServer/Engine.ini
Mordhau/Saved/Logs/
Let the server start fully (you'll see log output), then stop it (Ctrl+C) before editing the config files.
Launch Parameter Reference
| Parameter | Example | Description |
|---|---|---|
| Map | FFA_Cortile |
Starting map (first positional argument) |
-Port= |
7777 |
Game port (UDP) |
-BeaconPort= |
15000 |
Server discovery port (UDP) |
-QueryPort= |
27015 |
Steam server browser query port (UDP) |
-MultiHome= |
0.0.0.0 |
Bind to all interfaces |
-log |
— | Enable log output to Saved/Logs/ |
Full example launch command:
./Mordhau/Binaries/Linux/MordhauServer-Linux-Shipping FFA_Cortile \
-Port=7777 \
-BeaconPort=15000 \
-QueryPort=27015 \
-MultiHome=0.0.0.0 \
-log
Keeping the Server Updated
~/steamcmd/steamcmd.sh \
+force_install_dir /home/steam/mordhau \
+login anonymous \
+app_update 629800 \
+quit
Stop the server before running an update.
Next Steps
- Configure the server — edit
Mordhau/Saved/Config/LinuxServer/Game.ini - Open firewall ports — UDP 7777 (game), UDP 27015 (query), UDP 15000 (beacon)
- Set up as a service — use systemd for auto-restart on crash