VGKAMI
Advertise Get listed

Game Guides

How to Make a Mordhau Server: Step-by-Step Setup Guide

Published 10 min read

To make a Mordhau dedicated server, install Steam’s dedicated-server app (App ID 629800) with SteamCMD, generate its configuration once, edit Game.ini while the process is stopped, launch a map with the game, beacon, and query ports, and forward those UDP ports through your firewall and router. The game client is a different app (App ID 629760), and the server files can be downloaded with an anonymous SteamCMD login, so the installation account does not have to own the game. This guide covers Windows and Linux, browser-discovery failures, administration, and the trade-offs between a home machine and a VPS or dedicated box.

What do I need before hosting a Mordhau server?

You need a Windows or Linux machine that can remain online, SteamCMD, and permission to configure its host firewall. A home installation also needs a stable local IP address and router access for port forwarding. A VPS or rented dedicated machine removes the home-router step, but you still have to configure the operating-system firewall and keep the server updated.

  • Always-on host: A desktop, spare PC, VPS, or dedicated box that will not sleep or shut down.
  • SteamCMD: Valve’s supported distribution tool for downloading and updating dedicated game servers.
  • Network access: UDP reachability for game port 7777, beacon port 15000, and query port 27015.
  • Stable addressing: Reserve the host’s local address on a home router so forwarding does not break after a reboot.
  • Administrative access: Permission to create firewall rules, edit files, and run the server process.

The beacon and query services are especially important for discovery. A server can be running normally yet remain absent from the in-game browser if UDP 15000 or UDP 27015 is blocked.

Which Mordhau server files should I install?

Install the dedicated server, not the playable game client. The dedicated server is Steam App ID 629800; the game client is App ID 629760. SteamCMD can authenticate anonymously for this download, so you do not need to sign in with an account that owns Mordhau.

Windows download command

.steamcmd.exe +force_install_dir C:mordhau-server +login anonymous +app_update 629800 validate +quit

Run this from the directory containing steamcmd.exe. Keep +force_install_dir before +login; the documented guide warns that SteamCMD argument order matters.

Linux download command

./steamcmd.sh +force_install_dir ~/mordhau-server +login anonymous +app_update 629800 validate +quit

Run the command from the directory containing steamcmd.sh. The validate option checks the downloaded files rather than assuming every file is intact.

How do I update after a game patch?

Run the same SteamCMD command again, including app_update 629800 validate. Updating the client on your gaming PC does not update the dedicated-server installation; the server’s files must be refreshed in its own install directory.

How do I create Mordhau’s initial configuration?

Start the dedicated server once without gameplay arguments, wait for initialization to finish, and then shut it down cleanly. That first run creates the configuration tree and the initial Game.ini file. Do not skip the clean shutdown: the server writes its in-memory settings back to disk while closing.

Where is Game.ini on Windows?

Use:

MordhauSavedConfigWindowsServer

The exact location depends on the root of your server installation, so look for the Mordhau directory beneath that install.

Where is Game.ini on Linux?

Use:

Mordhau/Saved/Config/LinuxServer/

After the first run, edit the Game.ini inside the platform-specific directory. Stop the process before opening the file for changes. If you edit a live server, the running process can later overwrite your changes with the older values it still holds in memory.

What should I put in Game.ini?

Use the session section for identity, capacity, passwords, and administrators, and the game-mode section for rotation and gameplay rules. Keep the section headers created by your server build; INI headers and key names must be spelled and capitalized exactly as expected.

Session settings

Set the server’s public name, player capacity, optional join password, administrator password, and administrator entries in the session section. A compact example of the values you will configure looks like this:

[/Script/Mordhau.MordhauGameSession]
ServerName=Your Server Name
MaxSlots=48
ServerPassword=
AdminPassword=Use-A-Long-Unique-Password
Admins=Your-Administrator-Identifier

The example shows the settings and their relationship; retain the section structure generated by your installation if it differs. Leave ServerPassword empty for an open server, or set it when you want to restrict joining.

Map rotation and game-mode rules

Add repeated MapRotation entries in the game-mode section to cycle through maps. Mordhau map names combine a mode prefix with a map name:

MapRotation=FFA_ThePit
MapRotation=TDM_Camp
MapRotation=SKM_Grad

Those entries represent free-for-all on The Pit, team deathmatch on Camp, and Skirmish on Grad. Add the game-mode settings supplied by the server configuration for respawn timers, damage factors, and other rules in the same section. If you change a rule and it does not persist, stop the server again, correct the INI, and relaunch it; never rely on an edit made while the process is active.

How should I handle administrator and RCON passwords?

Use a separate, strong value for AdminPassword and for any RconPassword. In-game administration starts by joining the server and entering:

adminlogin your-admin-password

RCON is optional. If you enable it, define RconPassword and RconPort, and remember that the RCON protocol is unencrypted. Do not reuse a personal or account password, and avoid exposing the RCON port beyond the administrators who need it.

How do I launch the server with the correct map and ports?

Launch with a map name followed by the server parameters. This Linux example uses the first map from the rotation and writes a log:

./MordhauServer.sh FFA_ThePit -Port=7777 -BeaconPort=15000 -QueryPort=27015 -log

The Windows executable accepts the same map-and-parameter pattern. Replace the executable path as needed for your installation. Keep the three services on the ports you intend to forward:

Service Default port Transport What it does
Game 7777 UDP Carries player traffic and connections.
Beacon 15000 UDP Supports server discovery and browser visibility.
Query 27015 UDP Provides the browser’s server-query information.

Use -RconPort only when RCON is configured. Use -MultiHome when the machine has multiple local addresses and you need to bind the server to a particular one.

How do I open and forward Mordhau’s UDP ports?

Create host-firewall rules and, for a home server, router forwarding rules for all three UDP services. Forward each public port to the server’s stable local address, not to a changing DHCP address.

  1. Reserve the local address. In the router, create a DHCP reservation for the hosting machine, or assign a carefully managed static address.
  2. Allow UDP on the host. Permit 7777, 15000, and 27015 in Windows Firewall, ufw, or the firewall used by your Linux distribution.
  3. Create router rules. Forward UDP 7777, UDP 15000, and UDP 27015 to the reserved local address.
  4. Check the router’s WAN condition. If the router does not have a directly reachable public address, inbound forwarding may not work; this is common with carrier-grade NAT.
  5. Restart and test externally. Check the in-game browser from a connection outside your home network rather than relying only on a local test.

The roles of the ports explain the most common symptoms. If beacon or query traffic is blocked, the process can run but the server will not appear in the browser. If the server appears but players cannot join, investigate UDP 7777 and any password set in Game.ini.

How do I confirm that the server is working?

Start the process, wait for initialization, and search the in-game browser for the exact ServerName you configured. Test a join from outside the host’s local network when possible. A successful browser listing confirms that discovery traffic is reaching the beacon and query services; a successful join confirms that the game service is reachable as well.

  • Browser listing: Verify the configured name and check that UDP 15000 and 27015 are allowed end to end.
  • Join test: Confirm UDP 7777, the host firewall, router forwarding, and the absence of an unintended ServerPassword.
  • Administration: Join as an administrator and run adminlogin with the configured password.
  • Logs: Launch with -log and inspect the output if startup, map loading, or binding fails.

Why is my Mordhau server not showing in the browser?

Work through discovery separately from player connectivity. A missing listing almost always points to the beacon or query path, while a visible listing with failed joins points to the game path or access settings.

The process runs, but no listing appears

  • Confirm the host firewall allows UDP 15000 and UDP 27015.
  • Confirm the router forwards both ports to the correct local address.
  • Check that the server is not behind carrier-grade NAT without a usable inbound path.
  • Make sure you installed App ID 629800 and launched the dedicated server rather than the game client.

The listing appears, but nobody can connect

  • Allow and forward UDP 7777.
  • Check the game server’s host firewall rule separately from the beacon and query rules.
  • Check ServerPassword; a forgotten value can make an apparently public server reject players.
  • Verify that the launch command’s map and ports match the rules you opened.

It works on the LAN but not from the internet

LAN success proves that the process and local routing work, but not that the router is accepting inbound internet traffic. Recheck forwarding and investigate carrier-grade NAT. If your ISP does not provide a usable public address, move the server to a VPS or dedicated box rather than trying to repair a private WAN address.

My Game.ini changes disappear

Stop the server before every edit. Mordhau keeps configuration in memory and may write those older values back to Game.ini during shutdown, erasing a live-file edit.

The process closes immediately

  • Read the server log for the first reported error.
  • Check for a port collision with another process.
  • Run SteamCMD again with app_update 629800 validate.
  • Inspect the INI for malformed sections or misspelled entries.

The server is running an old build after a patch

Stop it, run the SteamCMD update command again with App ID 629800 and validate, then start the server. Updating only the client installation does not update the dedicated server.

Should I host at home or use a VPS?

Home hosting offers direct control and avoids a recurring infrastructure rental, but you provide the always-on hardware, electricity, local firewall, router forwarding, and maintenance. A VPS or dedicated box shifts that infrastructure to a provider and is the practical choice when your connection is behind carrier-grade NAT or you do not want to maintain a home machine.

Hosting choice Advantages Responsibilities and limits
Home machine Direct hardware and network control; no provider-side server rental. Requires an always-on host, stable local address, firewall rules, router forwarding, and a reachable public connection.
VPS or dedicated box Avoids home-router forwarding and works around many residential NAT limitations. You still configure the operating-system firewall, update SteamCMD files, secure credentials, and manage the server process.

Regardless of location, the three UDP services and the dedicated-server App ID remain the same. The hosting decision changes who maintains the underlying machine and network, not how Mordhau’s server process is configured.

What is the safest operating routine?

  1. Stop the process before editing Game.ini.
  2. Keep the SteamCMD install command available so updates and validation are repeatable.
  3. Use unique administrator and RCON passwords; never reuse an account password.
  4. Limit RCON exposure because its protocol is unencrypted.
  5. After every game patch, update App ID 629800, validate files, and test browser listing and joining.
  6. Keep a backup of a known-good Game.ini before making substantial rotation or rules changes.

Can console players join a private Mordhau server?

Private-server support and platform policy can change, so verify current console availability before planning a cross-platform community around a dedicated installation. The setup described here is the documented PC dedicated-server workflow; platform access rules are separate from SteamCMD installation and port forwarding.

Frequently Asked Questions

What does carrier-grade NAT mean for a Mordhau server?

Carrier-grade NAT means your ISP shares one public address among several customers, so your router may not receive unsolicited inbound traffic even when forwarding rules are correct. Ask the ISP for a public address or place the server on a VPS or dedicated machine with an internet-facing address.

Can I run the server without installing the Mordhau game client?

Yes. SteamCMD downloads App ID 629800 as a standalone dedicated-server installation, and anonymous login is supported for that download. The playable client’s App ID is 629760 and is not the package you launch for hosting.

Why does SteamCMD finish but leave an unusable server?

A common cause is downloading the wrong App ID or placing arguments in the wrong order. Use +force_install_dir before +login, select App ID 629800, and rerun with validate to repair missing or damaged files.

Is RCON encrypted?

No. Mordhau’s RCON protocol is unencrypted, so treat the RCON password as a dedicated secret and restrict who can reach the RCON port. Do not reuse a password used for Steam, email, or other services.