Skip to content

Run a relay

There is no company server. The network is whoever runs relays.

A relay stores and forwards encrypted envelopes in mailboxes, checks proof of work on writes, expires data, lists hop nodes, and can carry calls. It never holds keys and cannot read content.

Three ways

Pick how you want to run it

1. From the app

Settings → Relay

On by default for this computer only. Choose who can connect: this computer, your local network, or the internet.

The app can find your public address, ask your router to forward the port (UPnP) and remove the mapping when it stops, suggest a dynamic DNS name, run TURN and the forwarder, start before unlock, and keep running in the tray. Communities you manage follow your address if your IP changes.

Umbra's Relay settings, with a Start relay button, a warning about what hosting reveals, and a choice of who can connect: this computer, local network or internet
The relay page in Settings. The real interface, running its built-in demo data.

2. Docker or Coolify

Relay + web edition, one domain

One compose stack serves the relay and the web edition on one domain behind Caddy. No configuration is needed: the relay discovers its public IP itself.

For calls, open UDP 3478 (TURN), UDP 7701 (forwarder) and UDP 49152–49407 (TURN range).

3. Standalone binary

umbra-relay

shell
umbra-relay --listen 0.0.0.0:7700 --db relay.db --ttl-days 14 --pow-bits 14

Operator controls

Message expiry
TTL, 14 days by default.
Storage cap
Oldest data is dropped first.
“No files” mode
Refuse attachments altogether.
Takedowns
An admin token for DELETE /v1/admin/blob/{id}.
Policy and abuse URL
Shown to clients that use the relay.
Trusted proxy list
For running behind a reverse proxy.
Metrics
Prometheus metrics at /metrics.

Public endpoints

/v1/info
Limits, TURN and forwarder details.
/v1/ip
What is my IP. Nothing is stored.
/v1/nodes
Hop node directory. Listings last 10 minutes and need proof of work and a reachability check.

Default ports

  • TCP 7700Relay
  • TCP 7711Hop node
  • UDP 3478TURN
  • UDP 7701Media forwarder
  • UDP 49152–49407TURN range

Operator responsibilities

Know the rules where you run a server. The design minimises what a relay holds, with short-lived ciphertext it cannot read, but it does not remove that question. Relays include a takedown endpoint and a policy URL you can set.