How to Set Up a Mount & Blade II: Bannerlord Dedicated Server

Mount & Blade II: Bannerlord272 views2 favorites2 min readby CarrotQPKView on Steam ↗

Hardware Considerations

Component
Suggested Minimum
CPU
6-core (Ryzen 5 / Intel i5 or better)
RAM
16 GB or more
Disk
SSD strongly recommended
Network
Minimum 10 Mbps upload

⚠️ If your system drops below 60 FPS, the server may kick you due to performance instability.⚠️

Prerequisites

Before beginning the setup, follow these steps:

1. Download Required Files[drive.google.com]
You’ll need:
  • The Mount & Blade II: Dedicated Server tool from Steam

  • Your start.bat file

  • A tdm_config.txt file

  • A server token (generated in-game)

-------------------------------------------------------------------------------------------------------

2. Install the Dedicated Server Tool
  1. Open Steam.

  2. In the top-left corner, click on the Library filter (defaults to “Games”) and select Tools.

  3. Search for Mount & Blade II: Dedicated Server and install it.
Once installed:
  • Right-click the installed tool in your Steam Library

  • Click Manage > Browse Local Files
This opens the main server directory.

-------------------------------------------------------------------------------------------------------

3. Generate a Server Token
  1. Launch Mount & Blade II: Bannerlord.

  2. Press Alt + ~ to open the in-game console.

  3. Type: customserver.gettoken

  4. Your token will be saved to: Documents\Mount & Blade II Bannerlord\Tokens
-------------------------------------------------------------------------------------------------------

Server Configuration

1. Upload Config File
Navigate to the Native module folder, typically: D:\Steam\steamapps\common\Mount & Blade II Dedicated Server\Modules\Native

Place your tdm_config.txt file here.
Open the file and change the ServerName to something unique.

-------------------------------------------------------------------------------------------------------

2. Upload Start Script
Go to: D:\Steam\steamapps\common\Mount & Blade II Dedicated Server\bin\Win64_Shipping_Server

Place your start.bat file here.
You’ll use this file to launch the server later.

⚠️ You can test the server now, but it likely won’t be visible to others without port forwarding ⚠️

-------------------------------------------------------------------------------------------------------

Port Forwarding Setup

To make your server accessible online, you’ll need to forward specific ports through your router.
What You’ll Need:
  • Your router’s IP address

  • Your router login info (usually printed on the router)

  • Your PC’s local IP address
-------------------------------------------------------------------------------------------------------

Find Your PC’s Local IP
  1. Press Windows + R, type cmd, and hit Enter.

  2. In the command prompt, type: ipconfig

  3. Look for the line: IPv4 Address. . . . . : 192.168.x.x

  4. Take note of this address.
-------------------------------------------------------------------------------------------------------

Log into Your Router
  1. Open a web browser and type your router’s IP address in the address bar.

    • If this doesn’t work, look for the “Default Gateway” from ipconfig — that’s your router’s IP.

  2. Log in using your router’s credentials (usually found beneath or behind router)

  3. Navigate to Port Forwarding, Virtual Server, Firewall, or NAT settings.
-------------------------------------------------------------------------------------------------------

Add the Following Rules:
Name
Protocol
External Port
Internal port
Notes
Bannerlord
UDP
7210
7210
Required game port
Bannerlord Extra
UDP
7211
7211
Backup port
Bannerlord TCP
TCP
7210
7210
May help with stability
Steam UDP
UDP
27015
27015
Used by Steam for server discovery

Note: Some routers use “Port Range” instead of External/Internal. If so, just enter the same value for both.

-------------------------------------------------------------------------------------------------------

Final Steps

  • Save the port forwarding settings.

  • Restart your router and PC.

  • Launch the server using start.bat.

Your server should now be accessible to you and other players.

Check out TaleWorlds Documentation[moddocs.bannerlord.com] if you would like to change anything in the tdm_config.txt

This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.