Run your own server
The Rconn server is free and open source. It introduces your devices to each other and relays traffic when they can’t connect directly. Run it yourself and your devices meet on a machine you control.
Preview. The install script and server image aren’t published at these addresses yet. The commands show how setup will work and may change before release.
You’ll need
- A Linux machine with a public IP address: Ubuntu, Debian, Amazon Linux or RHEL.
- A DNS name pointing at it, such as
rconn.example.com. - These ports open: TCP 443, UDP 3478 and UDP 49160–49260.
Install
On the server, run:
curl -fsSL https://rconn.app/install.sh \
| sudo RCONN_HOSTNAME=rconn.example.com bash The script installs Docker if needed, creates the server’s identity, and starts the server with its built-in relay. When it finishes it prints:
- the server URL, like
wss://rconn.example.com:443/v1/ws - the server pin, a fingerprint starting with
sha256: - an admin login, shown once
Point Rconn at it
In Rconn, open the Server section and enter the server URL and the server pin. The pin lets each device check it’s talking to your server and not an impostor.
Prefer Docker Compose?
The installer writes a file like this to /opt/rconn/compose.yaml:
services:
signaling:
image: ghcr.io/rconn/signaling:latest
network_mode: host
restart: unless-stopped
environment:
RCONN_BIND: 0.0.0.0:443
RCONN_SERVER_ID: wss://rconn.example.com:443/v1/ws
RCONN_TURN_PUBLIC_IP: 203.0.113.10
volumes:
- rconn-data:/data
command: ["serve"]
volumes:
rconn-data: It uses host networking because the relay needs its UDP ports on the machine’s own address. Before the first start, create the server’s identity, which prints the server pin:
docker compose run --rm signaling init --hostname rconn.example.com
docker compose up -d