Run your own relay node
When your phone is away from home, a node helps it find your Mac and, if needed, relays the traffic. Ours works out of the box. Here is how to run your own instead, and whether it is worth it.
What a node does
On your own Wi-Fi no node takes part: the phone and the Mac find each other directly. Away from home a node does two separate jobs:
- Signalling. Two devices that already trust each other learn how to reach each other. The node sees fingerprints and addresses, not what the devices say.
- Relay. When the networks refuse a direct connection, the node forwards an opaque encrypted stream. It cannot decrypt it and keeps nothing.
A node with signalling only is a working setup; relay is what costs bandwidth.
Is it worth it?
The traffic is end-to-end encrypted either way, so your own node does not make the content safer. What it changes:
- Metadata stays yours. Which device connected to which, and when, is the one thing our nodes can see. On your node, we cannot.
- No dependence on us. If our services are paused, your node keeps working.
- Your region. Through a relay, latency depends on where the node is; a node near you beats one far away.
What it does not change: reaching the Mac from outside your own network still needs an active subscription, whichever node carries the traffic — you pay for the app, not for our bandwidth. And the server, its bandwidth and its updates become your job. If none of the three points above matters to you, our nodes are fine.
1. A server
- Any server with a public address; the smallest tier is enough.
- Docker, or the static binary (x86-64 and arm64).
- Open ports 7443/tcp, 3478/udp and 3479/udp for signalling, and 7444/udp, 7445/tcp, 443/tcp and 443/udp for relay.
- For relay, raise the UDP buffers, or the node silently drops two thirds of a burst:
printf 'net.core.rmem_max=8388608\nnet.core.wmem_max=8388608\n' | sudo tee /etc/sysctl.d/90-rendezvous.conf && sudo sysctl --system
2. A key, then the node
docker run --rm -v "$PWD/tls:/tls" ghcr.io/shiftstage/rendezvous keygen --out /tls
docker run -d --name rendezvous --restart unless-stopped \
-p 7443:7443 -p 3478:3478/udp -p 3479:3479/udp \
-p 7444:7444/udp -p 7445:7445 -p 443:443 -p 443:443/udp \
-v "$PWD/tls:/tls:ro" \
ghcr.io/shiftstage/rendezvous \
--tls-certificate /tls/cert.pem --tls-key /tls/key.pem \
--advertise your.server.address --roles signaling,relay
The first command prints the key's fingerprint. Leave out relay in
--roles if you want signalling only.
3. Point the Mac at it
In the agent's settings on the Mac, under the list of nodes, add the server's address and that fingerprint. No domain name or public certificate authority is needed: the devices trust the node by its pinned fingerprint, the same way the phone trusts your Mac. The list lives on the Mac and the phone takes it from there, so the two can never disagree. An empty list means local network only — a supported way to run, not a broken one.
Keeping it current
Releases — image and static binaries with checksums — are published at github.com/shiftstage/rendezvous, along with a guide for running without Docker and as a systemd service. A node a version behind keeps working; updating is pulling a newer tag. More on the self-hosting page.
Set up the Mac and the phone
- Install the agent on the Mac. A signed, notarised app from our open
Homebrew tap. It shares only the folders you name.
brew install --cask shiftstage/shiftstage/shiftstage-agent - Install the app on the iPhone from the App Store.
- Pair them. Scan the code on the Mac's screen and check that both devices show the same seven symbols. No account. On the free plan the first pairing needs both on the same network.
For the rest of the security model, see is it safe to access your Mac remotely.
Get it
The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.
More guides: all guides.