How to Set Up a Mordhau Dedicated Server
Run your own Mordhau dedicated server on a Linux VPS with SteamCMD, edit Game.ini for maps and rules, open the ports, and keep it online with systemd.

Mordhau's medieval melee combat is best with a full server of friends and regulars, and self-hosting lets you run the maps, modes, and rules you want — duels, Frontline, or a chaotic 64-player battlefield. This guide sets up a Mordhau dedicated server on a Linux VPS.
Requirements
- A VPS: Ubuntu 22.04, 4 vCPU and 6–8 GB RAM for a busy Frontline server. Mordhau's large-scale melee is CPU-heavy.
- SteamCMD: the Mordhau dedicated server is App ID 629800, installed anonymously.
- Ports: UDP 7777 (game), UDP 27015 (query), UDP 15000 (beacon), TCP 15000.
Step 1: User and dependencies
sudo adduser --disabled-password --gecos "" mordhau
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y lib32gcc-s1 lib32stdc++6 steamcmd
Step 2: Install Mordhau with SteamCMD
sudo su - mordhau
steamcmd +force_install_dir /home/mordhau/server +login anonymous +app_update 629800 validate +quit

Step 3: Open the firewall
sudo ufw allow 7777/udp
sudo ufw allow 27015/udp
sudo ufw allow 15000/udp
sudo ufw allow 15000/tcp
sudo ufw reload
Mirror these in your provider's network firewall.
Step 4: Configure Game.ini
Run the server once so it generates its config, then stop it. Edit /home/mordhau/server/Mordhau/Saved/Config/LinuxServer/Game.ini:
[/Script/Mordhau.MordhauGameSession]
ServerName="My Nxeon Mordhau Server"
ServerPassword=""
AdminPassword="change-this-strong-password"
MaxSlots=48
[/Script/Mordhau.MordhauGameMode]
MapRotation=FFA_ThePit
MapRotation=FL_Grad
MapRotation=FL_MountainPeak
Each MapRotation= line adds a map/mode to the cycle (FL_ = Frontline, TDM_ = Team Deathmatch, FFA_ = Free For All, and so on). Set a strong AdminPassword — it grants full in-game admin control.
Step 5: Start the server
cd /home/mordhau/server
./MordhauServer.sh -Port=7777 -QueryPort=27015 -BeaconPort=15000 \
-log
Step 6: Keep it online with systemd
Create /etc/systemd/system/mordhau.service:
[Unit]
Description=Mordhau Dedicated Server
After=network.target
[Service]
Type=simple
User=mordhau
WorkingDirectory=/home/mordhau/server
ExecStart=/home/mordhau/server/MordhauServer.sh -Port=7777 -QueryPort=27015 -BeaconPort=15000 -log
Restart=on-failure
RestartSec=15
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now mordhau
sudo journalctl -u mordhau -f
Admin commands and RCON
With the AdminPassword set, admins can log in from the in-game console and kick, ban, or change maps. For scripted control you can enable RCON in Game.ini and manage the server remotely. Keep the admin password out of any public config or screenshot.
Modes and player counts
Mordhau supports duels, TDM, Skirmish, Horde (PvE), and the big 64-player Frontline and Invasion modes. Larger modes need more CPU and RAM, so match your rotation to your hardware. If you plan to run Mordhau alongside another game, our guide to hosting multiple game servers on one VPS keeps ports and users separated, and Game Server Specs Explained helps you size the box.
Modes and how to rotate them
Mordhau's MapRotation= prefixes tell you the mode at a glance:
- FL_ Frontline — large objective battles (up to 64 players).
- INV_ Invasion — attack/defend with a narrative push.
- TDM_ Team Deathmatch; FFA_ free-for-all deathmatch.
- SKM_ Skirmish — round-based, no respawns.
- HRD_ Horde — co-op PvE waves.
Add one MapRotation= line per entry under [/Script/Mordhau.MordhauGameMode]; the server cycles them in order.
Admin control and useful settings
With the AdminPassword set, log in from the in-game console (AdminLogin <password>) to kick, ban, change maps, or restart the round. For scripted management, enable RconPassword and RconPort in Game.ini and use a community admin tool. Other options worth tuning: BannerText and a message of the day to greet players, and bIsThirdPersonCombatDisabled to force first person on a harder server. Never paste the admin or RCON password into a public config, screenshot, or Discord.
Troubleshooting
- Server not visible: confirm the query port (UDP 27015) and beacon port (15000) are open on both firewalls.
- Config changes ignored: you edited
Game.iniwhile the server was running — stop it, edit, then start. - Stutter in big modes: 64-player Frontline needs strong single-thread CPU and 6–8 GB RAM; drop
MaxSlotsif your box can't keep up.
FAQ
What App ID is the Mordhau dedicated server?
App ID 629800, installed anonymously via SteamCMD with +app_update 629800 validate.
Where is the Mordhau server config?
In Mordhau/Saved/Config/LinuxServer/Game.ini, generated on first launch. Stop the server before editing it.
How do I set the map rotation?
Add one MapRotation= line per map/mode under [/Script/Mordhau.MordhauGameMode]. Prefixes like FL_, TDM_, and FFA_ set the mode.
How many players can a Mordhau server hold?
Up to 64 in large modes, but stability at that count needs solid CPU and 6–8 GB RAM. Smaller duel or TDM servers run on much less.
Bring your medieval battlefield to life on an NVMe game server VPS from Nxeon — full root access and the CPU headroom Frontline demands.