Self-hosted relay server for Mirror (Unity) using Light Reflective Mirror. (NAT punch disabled).
1.0K
Self-hosted relay server for Light Reflective Mirror (LRM)
Easily run your own relay to allow P2P hosting, server lists and relay connections with Mirror Networking.
⚠️ NAT Punchthrough is disabled in this build (I couldn’t get it stable).
The relay-only mode works perfectly fine for hosting/joining by code.
docker run -d \
-p 8080:8080 \
-p 7777:7777/udp \
amineloop/lrm-node:latest
➡️ Relay now available at:
http://<your-server-ip>:80807777/udpEnvironment variables you can override:
| Variable | Default | Description |
|---|---|---|
AUTH_KEY | Secret Auth Key | Authentication key (must match client) |
TRANSPORT_CLASS | kcp2k.KcpTransport | Transport class (KCP, Telepathy, SimpleWeb) |
TRANSPORT_DLL | MultiCompiled.dll | DLL used for transport |
TRANSPORT_PORT | 7777 | Main data port |
ENDPOINT_PORT | 8080 | HTTP endpoint / server list |
ENABLE_NATPUNCH_SERVER | false | NAT punchthrough (disabled) |
version: "3.8"
services:
lrm-node:
image: amineloop/lrm-node:latest
container_name: lrm-node
restart: unless-stopped
ports:
- "8080:8080"
- "7777:7777/udp"
environment:
AUTH_KEY: "CHANGE_ME_SECRET"
TRANSPORT_CLASS: "kcp2k.KcpTransport"
ENABLE_NATPUNCH_SERVER: "false"
AUTH_KEY to prevent abuse.Derek-R-S - which maintained and developed it until v12.
Cooper - Assisted with development and made some wonderful features! He's also active in the discord to help answer questions and help with issues.
Maqsoom & JesusLuvsYooh - Both really active testers and have been testing it since I pitched the idea. They tested almost all versions of DRM and I am sure they will test the crap out of LRM!
All Mirror Transport Creators! - They made all the transports that this thing relies on! Especially the Simple Web Transport by default!
Content type
Image
Digest
sha256:fd9ede6bb…
Size
88.3 MB
Last updated
about 1 year ago
docker pull amineloop/lrm-node