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

Relay Laatst gecontroleerd:

Run Relay on ASUSTOR NAS

Official package guide for running Viaalink Relay on an ASUSTOR NAS with ADM 5.1+.

Overview

Viaalink Relay for ASUSTOR turns your NAS into your own private tunnel server. It lets you publish local web services, staging servers, and databases to the internet under your own domain name, with automatic HTTPS certificates, approved device keys, and a web setup dashboard.

Current version: 1.39.0, in ASUSTOR App Central.

Requirements

Before installing the Viaalink Relay package, ensure your NAS satisfies the following requirements:

  • ADM version: ADM 5.1 or newer (firmware 5.1.0+).
  • Architecture: x86-64 (Intel/AMD) and ARM64 NAS models; App Central offers the package that fits your NAS. For a Synology NAS there is a separate package, and on a QNAP NAS you run the Docker image — see Run Relay on Synology or QNAP.
  • Docker Engine app: Installed from App Central (search for “Docker Engine”).
  • Memory: Minimum 128 MB RAM allocated for Relay operation.
  • EZ-Connect: ASUSTOR’s built-in dynamic DNS enabled (ADM → Settings → EZ-Connect), providing a hostname such as yourname.myasustor.com.
  • Custom domain name: A domain you control with wildcard DNS capability (see DNS setup below).

Download

Viaalink Relay is in ASUSTOR App Central: open App Central on your NAS and search for Viaalink. The package carries the Relay’s Docker image, so the first install needs no internet.

Step-by-step installation

1. Install Docker Engine

Open ADM, launch App Central, search for Docker Engine, and click Install. Ensure the app starts and reports running status.

  1. Open App Central.
  2. Search for Viaalink.
  3. Open Viaalink Relay and click Install.

Known installer quirks

When installing the package via ADM App Central, you may encounter the following known interface quirks:

  • Docker Engine shows a red ✗ in prerequisites dialog: ADM’s built-in dependency check can intermittently fail to match the installed Docker Engine app. The installer script performs its own verification (command -v docker) and will cleanly stop if Docker is genuinely missing. If Docker Engine is running in App Central, you can safely ignore the red ✗ and proceed with the installation.
  • Informational port-conflict checklist: Items 3–5 in the “About This App” dialog display the package’s declared default ports (28022, 28081, 28443, 28080, 3478; see Relay Ports). This checklist is informational only and does not perform a live socket scan. If a port conflicts with an existing custom service on your NAS, you can reassign it directly from the setup page after installation.
  • “Enable port forwarding” checkbox: Leave this option checked during installation. This activates ADM’s EZ-Router service to automatically forward the declared ports through your router via UPnP.
  • Automatic reverse proxy entry: The installer automatically registers an HTTPS entry on port 28080 in ADM’s Control Panel → Services → Reverse Proxy, terminating TLS with the NAS’s own certificate and routing traffic to the Relay setup interface.

3. Start the application

In App Central, navigate to Installed Apps, locate Viaalink Relay, and ensure the toggle is set to On.

4. Locate your setup credentials

ADM creates a dedicated shared folder for persistent data during installation:

  1. Open File Explorer from your ADM desktop.
  2. In the left navigation pane under Shared Folders, open viaalink-relay-data.
  3. Open CREDENTIALS.txt. This file contains your web setup link and your setup code.

Important: All server configuration, host keys, TLS certificates, license/license.jwt, and authorized client keys are stored in viaalink-relay-data. This folder is retained if the application is stopped or updated. Do not store application data in ADM’s internal app directories.

DNS setup: wildcard subdomains over dynamic IP

Viaalink Relay provides subdomains for each connected service (for example myapp.relay.example.com). Because ASUSTOR’s default *.myasustor.com zone does not support wildcard subdomains, you should use your own domain name.

Wildcard CNAME configuration

Configure two CNAME records at your DNS provider (such as Cloudflare, Porkbun, or Route53):

ini
  • When using Cloudflare, set both records to DNS only (grey cloud). Proxied mode prevents Let’s Encrypt from reaching the NAS to validate TLS certificates.
  • The CNAME chain dynamically follows your NAS’s changing public IP address via EZ-Connect without requiring manual updates.

Static IP alternative

If your ISP provides a fixed, static public IP address, point direct A and AAAA records to your IP:

ini

Router ports and EZ-Router

ADM uses a background daemon (ezrouterd) that periodically synchronizes router port mappings from /usr/builtin/etc/resource.conf.

Viaalink Relay automatically registers its primary active ports with ADM. A new install from Relay 1.39 uses SSH 28022, HTTP 28081 and HTTPS 28443; an install from before 1.39 keeps 2222, 8080 and 8443. Every port can be changed under Settings › Domain & Ports; see Relay Ports.

PortProtocolServiceEZ-Router Status
28080TCPBrowser setup dashboard (ADM reverse proxy)Marked; EZ-Router asks the router for it while port forwarding is on (the default)
28022TCPClient SSH reverse tunnel (2222 before 1.39)Marked (forwarded automatically)
3478UDPSTUN / TURN controlMarked (forwarded automatically)
80TCPPublic HTTP (Caddy / ACME)Unmarked (requires static router rule)
443TCPPublic HTTPS (Caddy / TLS)Unmarked (requires static router rule)
49152–49167UDPTURN media port rangeMarked individually in EZ-Router when TURN is enabled (static rule only needed if router rejects UPnP or range > 32)

Note: Consumer routers typically reject UPnP requests for ports below 1024. When HTTPS via Caddy is enabled (--caddy-https-enabled=true), Caddy binds public ports 80 and 443 as the public front door while the Relay’s own HTTP and HTTPS listeners (28081 and 28443) remain internal on the NAS. If Caddy is not active, map external router port 80 to NAS port 28081 and external port 443 to NAS port 28443, and set https-port-override: 443 so addresses carry no port (Addresses without a port number). When calls through firewalls (TURN) is enabled and the port range is within --upnp-turn-relay-max-ports (32; default 49152–49167 is 16 ports), EZ-Router / UPnP maps those UDP ports individually; a manual static router rule is only needed if your router refuses UPnP or a wider range is configured.

UPnP and STUN/TURN diagnostic commands

You can inspect or manage router port mappings and test STUN/TURN reachability from an SSH session on the NAS using the built-in subcommands:

bash

First-run setup page

Open Viaalink Relay from the ADM desktop. The dashboard asks for the setup code once; you find it in CREDENTIALS.txt in the Relay’s shared folder (viaalink-relay-data, in File Explorer). This browser then stays signed in for 30 days. Do the first setup on your home network.

Clicking the Viaalink Relay icon on your ADM desktop opens the dashboard through ADM’s reverse proxy on port 28080:

text

On your first visit, enter <setup-code> from CREDENTIALS.txt at the sign-in prompt. Alternatively, you can open the direct setup URL with your setup code:

text

When opened via your EZ-Connect name, your browser sees a valid public certificate. When opened via the NAS’s LAN IP address, the internal certificate shows “Not secure” (which you can bypass for local setup).

The plain-HTTP listener on port 28081 (8080 on an install from before 1.39) works on your home network as well:

text

To open the dashboard from anywhere, configure your custom domain name (DNS setup) and open https://relay.example.com/_relay/dashboard. It is served on port 443, so no extra router forward is needed.

Tip: If your router does not loop requests for your own public address back into your network, add a local DNS entry (in your router or Pi-hole) that points relay.example.com at the NAS’s LAN IP.

Once authenticated, the browser stays signed in for 30 days, so later visits to /_relay/dashboard do not ask for the setup code again.

The setup dashboard sidebar provides:

  • Overview: System status and connectivity summary.
  • Devices: Connected client devices.
  • People: User management across four tabs: Operators, Users, Join codes, and Registration key. Join codes (invites) are single-use and valid 24 hours unless you choose 15 minutes or 7 days.
  • Domains: Domain routing and TLS certificate settings.
  • Names: every address this Relay answers to, who holds it, and whether the internet may see it.
  • Sessions: who is signed in to the dashboard, and which SSH clients hold a connection.
  • Logs: Operational logs.
  • Settings: Server settings and Settings › Backup for configuration backups.

License status is displayed in a dedicated block at the bottom of the sidebar with a Manage → link.

Restart after changing settings

Settings changes that need a restart show a restart bar with options: Restart now, Tonight at …, or Undo. Restart now stops the Relay; the packaged Compose configuration (restart: unless-stopped) starts it again within seconds.

License status on ASUSTOR

The Free plan is included: 3 connected devices (up to 10 connections). The Relay runs with Free plan limits from its first start; activate the free license (a free viaalink.com account) within 14 days to keep accepting new devices.

Paid plans are bought on viaalink.com and activated in the app under Settings › License. The license is tied to the NAS’s network cards, so adding or replacing a network card means activating again (a “move” in your account).

Updating the package

Updates come through App Central: when a newer version is listed, update Viaalink Relay there. ADM replaces the application while leaving the viaalink-relay-data shared folder untouched. All host keys, certificates, license/license.jwt, and configuration settings persist automatically.

From 1.39, the Owner can also let the Relay install a newer version itself at night (Settings › Updates, off by default). A package update from App Central always wins over a version the Relay downloaded.

Uninstalling

To remove Viaalink Relay:

  1. Open App Central → locate Viaalink Relay → click Remove.
  2. ADM stops the containers and removes the application launcher.
  3. All persistent data, cryptographic keys, and settings remain safe in File Explorer under viaalink-relay-data. To perform a complete wipe, delete the viaalink-relay-data shared folder manually in File Explorer.

Troubleshooting

  • Settings restart required: Settings that need a restart display a restart bar. Select Restart now to apply changes.
  • Published subdomains do not resolve: Confirm that your DNS provider has a wildcard CNAME record (*.relay.<your-domain>) pointing to your EZ-Connect hostname, and verify that Cloudflare proxying is set to DNS only (grey cloud).
  • Cannot connect from outside the home network: Ensure that the SSH port (28022, or 2222 on an install from before 1.39) is forwarded by EZ-Router or a static router rule. Test connections from a mobile phone using cellular data rather than local Wi-Fi.
  • Dashboard does not open from outside: Check that EZ-Router forwarded port 28080, or use https://relay.example.com/_relay/dashboard once the Relay’s domain is set up.

Release notes

1.39.0

  • Its own ports on a new install: devices connect on 28022, the Relay’s HTTP and HTTPS are 28081 and 28443, and the desktop icon opens the dashboard through ADM’s reverse proxy on 28080. Every port can be changed under Settings › Domain & Ports; an existing install keeps its ports.
  • Sign-in links: people you invite can sign in with a link from your own mail server, without a viaalink.com account.
  • Automatic updates, if the Owner turns them on (Settings › Updates): installed at night, rolled back if the new version is not healthy.
  • Devices hear when the Relay restarts and reconnect within seconds.
  • Join, invite and sign-in links carry the HTTPS port when it is not 443.

1.38.0

  • Invite e-mails sent through your own mail server carry your logo, colour, opening text (English and Dutch) and footer; Settings › E-mail shows a preview.
  • The switch for sign-in with viaalink.com says what viaalink.com keeps while it is on. Switched off, the Relay is removed from every viaalink.com account.

1.37.2

  • Invite e-mails link straight to this Relay’s sign-in page and never name a placeholder address.
  • Errors show in red; “License expires soon” appears for Free only when online renewal fails; one valid-until date everywhere.
  • Sign out for setup-code sessions; the header’s status and your name are clickable.
  • Settings › Other settings has a switch for sign-in with viaalink.com.

1.37.1

  • The package now carries the Viaalink Relay version: 1.37.1. Built with Go 1.26.10 and current golang.org/x network and crypto modules, which close sixteen known security issues in TLS, HTTP/2, certificate checks and SSH.

0.62.9

  • The first package made for App Central.

0.62.7

  • A license bought on viaalink.com can now be activated on the NAS: the license is tied to the NAS’s own network cards. Adding or replacing a network card means activating again (a “move” in your account).
  • Join codes for someone who already has a suffix keep it.
  • Fixes for TCP forwards: SNI on/off and “any port” requests.
  • The installer no longer says the TURN range needs a router forward.

0.62.6

  • Choose per person whether addresses are short or end in their name or a code (People › Users › Names).

0.62.5

  • No more spurious memory-limit error at startup.

0.62.4

  • Signing in with viaalink.com is now signed by your Relay.

0.62.3

  • Stronger sign-in protection and a simpler sign-in screen with a QR code.

0.62.1

  • The ADM icon works on your home network; richer Devices view, simpler Domains, bulk actions under People, live-checked statuses.

0.59.0-4

  • Become Owner from anywhere; password managers can save the setup code.

0.59.0-3

  • See each device’s connections and each name’s live requests; visitor addresses in logs are protected.

0.59.0-2

  • Tidier lists with search and paging; times in your own time zone.

0.59.0-1

  • Manage devices, people and names; schedule restarts; see updates; back up your settings.

0.58.0-2

  • Clearer sign-in page that says where to find your setup code.

0.58.0-1

  • New dashboard: sidebar, four-step first run, live domain checks, logs and audit trail.

0.57.0-2

  • A license deactivated at viaalink.com takes effect within a day, with clearer messages.

0.57.0-1

  • Devices can replace or remove their own key from the Viaalink CLI.

0.56.0-3

  • Refused devices are always disconnected promptly; fixes to browser activation and license status.

0.56.0-2

  • Activate in your browser without copying an activation code; turned-away devices are told why.

0.56.0-1

  • Add a device with one single-use link; clients can verify they reach the right Relay.

0.55.0-4

  • Fixed a first start that refused every device; removing an already-deleted domain no longer warns.

0.55.0-3

  • The desktop icon works away from home, over HTTPS on your EZ-Connect address.

0.55.0-2

  • Leftover containers from an earlier install are cleaned up; uninstalling while Docker is stopped is refused.

0.55.0-1

  • Clear message when Docker Engine is stopped; the ADM icon takes you to your Relay’s own address; Free needs a free license after 14 days.

0.54.0-2

  • Fixed a crash in the HTTP proxy handler where concurrent requests through the same tunnel could race on the web console route state (concurrent map writes), causing the Relay process to restart under load when --admin-console or --service-console was enabled.
  • Restored tunnel stability when serving websites with many parallel asset requests.
  • Removed the temporary workaround of disabling --admin-console and --service-console.

0.54.0-1

  • Added multi-domain discovery: Viaalink Relay now advertises every domain in domain and bind-hosts along with its per-domain certificate mode (bind-hosts-tls) to connecting Viaalink CLI clients.
  • Differentiates domains with active wildcard certificates (https_wildcard: true) from single-host HTTP-01 domains (https_wildcard: false) and plain HTTP domains (none).
  • Domains set to none are sorted last and marked https: false so clients do not offer broken https:// URLs.

0.53.0-10

  • Added independent per-domain certificate modes for extra domains (bind-hosts-tls): DNS-01 (wildcard), HTTP-01 (port 80), or None (HTTP only) for domains behind an external proxy.
  • Added a live Verify certs check in the dashboard that performs a TLS handshake against 127.0.0.1:443 for each domain and reports whether the served certificate is issued by Let’s Encrypt.
  • Bundled CLI updated to understand per-domain certificate settings.

0.53.0-9

  • Added external TURN verification for calls through firewalls and bounded the default TURN allocation range to 16 UDP ports (49152–49167 via --turn-relay-min-port / --turn-relay-max-port) so UPnP routers that forward individual ports are not overwhelmed; on ASUSTOR NAS, EZ-Router does not register this UDP range, so a manual static router port-forward rule for 49152–49167/udp is still required.
  • Added an automated NAS package test suite covering ADM registry marks, listeners, and end-to-end tunnel verification.

0.53.0-8

  • Documented that --turn-public-ip is required whenever TURN is enabled for calls through firewalls (--turn-realm set).
  • Updated the STUN/TURN check to compare turn-public-ip against the router’s live public IP and warn on drift.

0.53.0-7

  • Fixed an installer crash (unbound variable) in post-install.sh when ADM invoked the script without positional arguments.
  • Improved cleanup of legacy registration entries in /usr/builtin/etc/resource.conf across package upgrades.