This page is in English — onze technische documentatie voor ontwikkelaars en beheerders is in het Engels.

Relay Laatst gecontroleerd:

Requirements and Network Architecture

Machine specifications, domain requirements, DNS records, ports table, and router forwarding guidelines.

Hardware and system requirements

Before installing Viaalink Relay, ensure your host machine meets the following platform and system specifications:

PlatformSupported ArchitectureMinimum RAMNotes
Linux server / VPSx86-64 (amd64), ARM64, ARMv6 (Raspberry Pi Zero / 1)128 MB (256 MB recommended)Standalone binary; see Run Relay on Linux
Dockerx86-64 (amd64), ARM64128 MB (256 MB recommended)Container image with Docker Compose; see Run Relay with Docker
ASUSTOR NASx86-64 and ARM64 packages128 MB adviceRequires ADM 5.1+ and the Docker Engine app; see Run Relay on ASUSTOR NAS
Synology / QNAP NASx86-64 (amd64) or ARM64 models that offer Container Manager (DSM 7.2+) or Container Station128 MB (256 MB recommended)Synology: the Viaalink Relay package (.spk, on request) or the Docker image in Container Manager; QNAP: the Docker image in Container Station; many ARM value and “j” Synology models have no Container Manager; see Run Relay on Synology or QNAP
Windows PCx64, Arm64128 MB (256 MB recommended)Runs in the foreground while you are logged in; see Run Relay on Windows
MacIntel, Apple silicon128 MB (256 MB recommended)Runs in the foreground while you are logged in; see Run Relay on macOS

A Relay that should stay reachable around the clock belongs on a machine that is always on: a Linux server, a VPS, or a NAS. On Windows and macOS the Relay runs as a program in your user session: it stops when you log out and cannot be reached while the computer sleeps.

Domain and DNS requirements

Viaalink Relay requires a domain name you control (for example example.com). To route incoming traffic and issue automatic wildcard certificates via Let’s Encrypt, configure two DNS records:

  1. Host record (relay.example.com) — points to your Relay server’s public IP address.
  2. Wildcard record (*.relay.example.com) — directs all dynamically generated subdomains (such as app.relay.example.com) to your Relay.

Static public IP (A and AAAA records)

If your ISP or hosting provider provides a static IPv4 address (and optionally IPv6), create direct address records:

ini

Dynamic IP (CNAME records)

If you run Viaalink Relay on a home connection or NAS with dynamic IP tracking (such as ASUSTOR EZ-Connect yourname.myasustor.com), point both host and wildcard records using CNAME:

ini

Important: If you manage your DNS with Cloudflare, set both records to DNS only (grey cloud). Proxied records (orange cloud) intercept inbound traffic at Cloudflare’s edge and break on-demand Let’s Encrypt TLS validation.

Port reference table

The following table lists every port used by Viaalink Relay, whether it requires external router forwarding, and its purpose. It shows a Relay on a server of its own; the NAS packages use 28022, 28081 and 28443 from Relay 1.39, and every port can be changed. See Relay Ports.

PortProtocolInternal ServiceForwardedReachability & Purpose
2222TCPSSH listenerYesWhere connecting client machines establish reverse tunnels
8080TCPHTTP listenerOptionalInternal plain-HTTP listener (and /_relay/dashboard on Linux/Docker); mapped to public port 80 via Caddy or router port translation
8443TCPHTTPS listenerOptionalInternal HTTPS listener; mapped to public port 443 via Caddy or router port translation
80TCPPublic HTTPYesInbound HTTP traffic, HTTP-to-HTTPS redirect, and ACME HTTP-01 challenge
443TCPPublic HTTPSYesInbound HTTPS traffic for all published addresses (and /_relay/dashboard behind Caddy/HTTPS)
28080TCPDashboard reverse proxy (ASUSTOR only)Yes (EZ-Router)ASUSTOR only: the dashboard through ADM’s reverse proxy, with ADM’s certificate; the ADM desktop icon opens it
3478UDPSTUN / TURN controlYesControl port for NAT discovery and WebRTC call establishment
49152–49167UDPTURN media port rangeYes16 dedicated UDP ports for media traffic during calls through firewalls

Router port forwarding: UPnP vs manual rules

To make your published addresses accessible outside your local network, your router must route incoming traffic to your Relay server.

Automatic forwarding (UPnP and EZ-Router)

Viaalink Relay can automatically request port mappings from your router using standard Universal Plug and Play (UPnP) or ASUSTOR’s native EZ-Router service:

  • High ports (2222 or 28022, 3478): Most consumer routers permit UPnP mappings for ports above 1024 without administrative intervention.
  • Low ports (80, 443): Many ISP-provided routers intentionally block UPnP requests for privileged ports below 1024, returning UPnPError 606 "Action not authorized".

Manual forwarding and port translation

When your router does not support UPnP or rejects low-port mapping requests, configure static port forwarding rules in your router’s administration interface:

  1. Direct forwarding: Forward port 2222/tcp to your Relay server’s LAN IP address.
  2. Port translation: Forward external port 80 to internal port 8080, and external port 443 to internal port 8443. This allows visitors to access published URLs without specifying custom port numbers (on a NAS from 1.39: 28081 and 28443; see Addresses without a port number).
  3. TURN media port range: If you enable TURN for calls through firewalls, the Relay can map media ports automatically port by port via UPnP (up to 32 ports by default, configured by --upnp-turn-relay-max-ports). If your router does not support UPnP or automatic mapping is disabled, forward the UDP port range 49152–49167 directly to your Relay with a manual static rule.

Tip: Always verify external port access from a mobile phone connected to cellular data. Requests originating from inside your local network can be looped back by router NAT hairpinning, giving the false impression that a port is open to the internet when it is not.