Server Hosting
This guide explains how to set up a public or private self-hosted Eden room.
Prepare a server
You can use a VPS or a machine on your own network. For example, with a Kamatera VPS, create an Ubuntu 24.04 LTS server in a region convenient for the players, then connect over SSH:
ssh root@YOUR_SERVER_IP
For Docker, install Docker Engine using the instructions for your Linux distribution and verify it is available with docker --version.
The standalone room executable is named eden-room. On Linux, it is built when YUZU_ROOM and YUZU_ROOM_STANDALONE are enabled (both default to ON on supported non-Android builds); the installed executable is under bin.
Start the room
The following examples start a private room. The preferred game name is required. Set its title and, optionally, its title ID; without a title ID the room can still be hosted but will not be discoverable in the public room list. Omit --password for a room without a password.
- Native
- Docker
Run the executable on the server:
./bin/eden-room \
--room-name "My Eden Room" \
--password "choose-a-strong-password" \
--preferred-game "Mario Kart 8 Deluxe" \
--preferred-game-id 01000ABF0C84C000
Use a Docker image that contains the eden-room executable. Replace YOUR_ROOM_IMAGE with that image:
docker run -d --name eden-room --restart unless-stopped \
-p 24872:24872/udp \
YOUR_ROOM_IMAGE \
eden-room \
--room-name "My Eden Room" \
--password "choose-a-strong-password" \
--preferred-game "Mario Kart 8 Deluxe" \
--preferred-game-id 01000ABF0C84C000
Check the container with docker ps. Manage it with docker stop eden-room, docker start eden-room, and docker rm -f eden-room.
Ports and firewall
| Port | Protocol | Purpose |
|---|---|---|
| 24872 | UDP | Room traffic; default room port |
If you pass a different --port, use that port in the Docker mapping and firewall rule as well.
Allow inbound UDP on the room port in both the server firewall and any cloud/VPS firewall. Do not expose unrelated ports. TCP is not required for room traffic.
Only expose the room port to the internet if you intend to host an internet-accessible room. Use a strong room password for private rooms, and restrict SSH access separately (for example, to trusted source addresses).
Connect to the room
- Host
- Client
Keep the eden-room process running. It closes when it receives input in its console; stopping its Docker container also stops the room.
In Eden, open Multiplayer > Direct Connect to Room and enter the server's public IP address and room port (24872 by default). Enter the room password if one was set.
Room options
| Option | Purpose |
|---|---|
--room-name | Required room name |
--room-description | Room description |
--bind-address | Address on which the room listens; defaults to 0.0.0.0 |
--port | Listening port; defaults to 24872 |
--max-members | Maximum players; valid range is 2–254 |
--password | Room password |
--preferred-game | Required preferred game name |
--preferred-game-id | Preferred game title ID, in hexadecimal |
--username, --token, --web-api-url | Credentials and endpoint used to announce a public room |
--ban-list-file | File used to load and save the room ban list |
The room is private unless both --token and --web-api-url are supplied. Public-room listing also requires a valid service token and a build with web-service support. Run eden-room --help for the command's options.