Skip to main content

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.

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

Ports and firewall​

PortProtocolPurpose
24872UDPRoom traffic; default room port

If you pass a different --port, use that port in the Docker mapping and firewall rule as well.

warning

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.

Protect your server

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​

Keep the eden-room process running. It closes when it receives input in its console; stopping its Docker container also stops the room.

Room options​

OptionPurpose
--room-nameRequired room name
--room-descriptionRoom description
--bind-addressAddress on which the room listens; defaults to 0.0.0.0
--portListening port; defaults to 24872
--max-membersMaximum players; valid range is 2–254
--passwordRoom password
--preferred-gameRequired preferred game name
--preferred-game-idPreferred game title ID, in hexadecimal
--username, --token, --web-api-urlCredentials and endpoint used to announce a public room
--ban-list-fileFile 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.