The Lord of the Rings: Return to Moria transforms the famed underground dwarven homeland of Tolkien's Misty Mountains into a freely explorable survival and building world. Players become dwarven warriors, delve into ancient mines, rebuild Durin's Forge, sing mining songs, and repel hordes of orcs and shadows from the depths. A self-hosted Dedicated Server lets dwarven lords enter the mines whenever they wish, progress through technology, and forge legendary equipment. This article details official server deployment and optimization.
1. Server environment baseline
| Configuration | Minimum requirement | Recommended production configuration |
|---|---|---|
| CPU | 4 cores / above 3.0 GHz | 8 cores / high clock speed of 3.5 GHz+ (for complex underground lighting and structural forces) |
| Memory | 8 GB physical RAM | 16 GB+ physical RAM (allowing for large deep mineshafts and orc raid AI) |
| Disk | 20 GB reserved space | Fast NVMe SSD (program loading and frequent mineral refreshes) |
| Network | 15 Mbps upload bandwidth | 30 Mbps+ upload (for smooth synchronization in an 8-player underground group) |
2. SteamCMD deployment command
The official Return to Moria dedicated server supports anonymous SteamCMD downloads:
- Server AppID:
3349480 - Executable:
MoriaServer.exe
# Download/update the Return to Moria dedicated server anonymously
steamcmd +login anonymous +app_update 3349480 validate +quit
The first run of MoriaServer.exe creates MoriaServerConfig.ini and rule files in the server root.
3. Network port planning
Return to Moria coordinates two protocols:
| Port | Transport protocol | Purpose | Firewall and forwarding requirements |
|---|---|---|---|
| 7777 | UDP | Core client communication and physics synchronization | Forwarding required for all player movement and combat data |
| 7777 | TCP | Connection handshake and state signaling | Forwarding required for initial client connection and session persistence |
Allow both protocols in Windows PowerShell:
New-NetFirewallRule -DisplayName "Moria Dedicated UDP" -Direction Inbound -LocalPort 7777 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "Moria Dedicated TCP" -Direction Inbound -LocalPort 7777 -Protocol TCP -Action Allow
4. Main configuration: MoriaServerConfig.ini
Edit MoriaServerConfig.ini in the server root:
[ServerSettings]
; Public server name
ServerName=Moria LanGame Dwarven Realm
; Join password (leave empty for password-free access)
ServerPassword=
; Maximum online dwarves
MaxPlayers=8
; Main game port
Port=7777
; World generation seed (leave empty for random generation)
WorldSeed=
; Difficulty preset: Story, Normal, Hard
DifficultyPreset=Normal
5. Open-source LGSM management
We recommend the official open-source LanGame Server Manager (LGSM) (repository: GitHub - SZSLGJCOM/LanGame-Server-Manager).
- One-click template deployment: The built-in Return to Moria preset automatically downloads files and validates both protocol ports.
- Visual difficulty controls: Switch between normal/hardcore difficulty and adjust patrol enemies and attraction to mining noise.
- Automatic world snapshots: Backs up all dwarven mineshafts and forge blueprints to prevent corrupted saves after sudden power loss.
6. Remote multiplayer and network optimization
- Public direct connection: After forwarding UDP/TCP 7777 on the router, teammates enter
public IP:7777under direct connection in the game's main menu. - Networking without a public IP: For rented accommodation or private networks, use LINK in LanGame OS Orbit to create an encrypted P2P tunnel. Connect with the virtual adapter IP for low-latency underground exploration.