Sites and relay nodes
Copy as MarkdownA site is an office, a branch, a warehouse or any other place with its own network. A relay node is a small NeoDesk server at the site. When two computers at the site can't connect directly, their session goes through the site's relay node instead of the relay on your central server, so the session's traffic stays on the site's network.
The central server stays in charge. It keeps the accounts, devices, policies and the audit log, and it decides for every session which relay carries it. A relay node has no database and no web console: it keeps one connection to the central server and relays the sessions the central server sends it. It also sends the Wake-on-LAN packets for the site's computers, which the central server can't reach from outside the site's network.
When a session needs a relay, the central server looks up the site of both computers:
- Both computers are at the same site, and the site has a relay node online: the session goes through that node. With several nodes at a site, the server picks the online one with the fewest active sessions.
- The computers are at two sites of the same organization, and both sites have a node online: the session goes over both nodes, see Site to site.
- Anything else: the central relay, as on a server without sites.
Computers still try a direct connection first, as before. The relay node takes the place of the central relay, not of direct connections.
A site belongs to an organization and serves only that organization's devices. On a server without organizations, a site serves every device.
To see which relay carried a session, open the device and its Metrics tab. Under Connection sessions, the Transport column names the relay under the transport: Direct, Central relay, LAN relay, the node's name, or two nodes' names for a session between two sites.
A relay node runs on:
- A Linux VM or server with systemd, with a 64-bit x86, arm64 or armv7 processor.
- A Raspberry Pi 4 with 1 GB of memory, with the Linux installer or with Docker on a 64-bit system.
- A NAS or any other machine with Docker and Compose 2.24 or newer. The image is built for amd64 and arm64.
- 64-bit Windows, as a Windows service.
The node needs:
- An outbound TCP connection to the central server on port 21123. It needs no inbound port from the central server.
- An address the site's computers can reach on ports 21117 and 21119.
- For computers that reach it from outside the site's network, a public address with a port forward to the node.
The central server needs nothing extra installed. Relay nodes are on by default in every install, and the installers open port 21123. NODE_CONTROL_PORT=0 in the server's settings turns them off; the Sites page then says "Relay nodes are turned off on this server (NODE_CONTROL_PORT=0)".
A relay node needs little memory. These figures were measured on linux/amd64, in a container limited to 1 GB:
- Idle, the node uses 37 to 40 MB (RSS). About 12 MB of that is its own working memory, the rest is the mapped program file.
- With 10 relayed sessions at 4 Mbit/s each way, it stays below 42 MB, and the figure stays flat over time. At that load it uses 8 to 12% of one x86 core.
CPU use on a Raspberry Pi wasn't measured. The arm64 build only ran under emulation (qemu), which gives an upper bound and no exact figure. A Raspberry Pi 4 with 1 GB has plenty of headroom for a node.
| Port | Protocol | On | Who connects |
|---|---|---|---|
| 21117 | TCP | Relay node | The site's computers: the relay |
| 21119 | TCP | Relay node | The site's computers that use WebSocket: the relay over WebSocket |
| 21125 | TCP (TLS) | Relay node | Relay nodes of your other sites, for sessions between two sites |
| 21123 | TCP (TLS) | Central server | Relay nodes: their control connection |
Open 21117 and 21119 on the node towards the site's computers. When the node has a public address, forward both from it. Open 21125 towards the relay nodes of your other sites, over your VPN or forwarded from the public address, if sessions run between sites. On the central server, 21123 has to be reachable from every node.
A node at a site without internet access also listens on 21115, 21116 (TCP and UDP), 21118 and 21121.
The node reads these settings, from its env file, the compose file's .env or the Windows service:
| Setting | Default | What it does |
|---|---|---|
NODE_JOIN |
The enrollment string from the console. The node reads it at its first start only and keeps its key and enrollment after that. | |
NODE_LAN_ADDR |
the node's own address, port 21117 | host:port where computers in the site's network reach the relay. |
NODE_PUBLIC_ADDR |
none | host:port where computers outside the site's network reach the relay, through a port forward. Empty: only computers that get the LAN address use the node. |
NODE_WS_LAN_ADDR, NODE_WS_PUBLIC_ADDR |
the port of the address above plus 2 | Where computers reach the relay over WebSocket. |
NODE_LEG_PORT |
21125 |
The port relay nodes of other sites connect to. 0 turns it off. |
NODE_LEG_LAN_ADDR, NODE_LEG_PUBLIC_ADDR |
the host of NODE_LAN_ADDR or NODE_PUBLIC_ADDR with port 21125 |
Where other nodes reach this one over a VPN and from the internet. none for none. |
NODE_FORWARD |
off | Y passes the ID server and the client API on to the central server, for a site without internet access. |
NODE_FORWARD_SIGNAL_PORT |
21116 |
With NODE_FORWARD: the ID server port, TCP and UDP. The NAT type test listens one port below, the ID server over WebSocket two ports above. |
NODE_FORWARD_API_PORT |
21121 |
With NODE_FORWARD: the client API port. |
NODE_FORWARD_LISTEN |
the host of NODE_LAN_ADDR when it is an IP address, else every address |
With NODE_FORWARD: the address the forwarded ports listen on. |
NODE_WAKE |
on | N stops the node from sending Wake-on-LAN packets. The central server then sends them itself. |
NODE_DATA_DIR |
the server's data folder | Where the node keeps node.key, its identity, and node.json, its enrollment. |
The central server reads one:
| Setting | Default | What it does |
|---|---|---|
NODE_CONTROL_PORT |
21123 |
The port relay nodes connect to. 0 turns relay nodes off. |
The central server goes through these in order and takes the first that gives a site:
- The device's own pin.
- The pin of the device's folder.
- The address the device registers from. A private address matches the site's private networks, a public address its public networks. The most specific network wins, and on a tie the oldest site.
- None: the device is at no site.
Only sites of the device's organization count. Private addresses are those in 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 and fc00::/7.
The address is the one the central server sees. Computers that reach the central server through the site's NAT router all register from the site's public address, so give the site that address as a public network. Computers that reach the central server over a VPN, or in the same network, register from their private address.
The same addresses decide which address of the node a computer gets. A computer inside the site's networks gets the node's LAN address: one that registered from a private address, or from a public address in one of the site's public networks, such as the site's NAT router. A computer outside the site's networks gets the node's public address. So computers that reach the central server through the site's NAT router still dial the node in the LAN, and the router needs no NAT loopback for them.
To pin a device, open it, and on the Overview tab click Change… next to Site. Pick the site, or Not pinned to remove the pin. The list has only the sites of the device's organization, since a site serves that organization alone. A pinned device stays at its site from any address. The Site row also says where the site came from: pinned, from its folder or from its address.
To pin a folder, choose Edit in the folder's menu and pick the site under Site. The folder's devices are at that site unless a device has its own pin.
The device list has a Site column too, hidden until you turn it on under Columns.
Sites are under Devices, Sites in the sidebar. Accounts that may change settings can add and change sites; accounts that may see devices can read them. An organization's admins see their organization's sites only.
- Click Add site. Give it a Name, for example the office or the city, and pick its Organization.
- Leave VPN group empty unless the site reaches your other sites over a VPN; see Site to site.
- Under Networks, click Add network for each network of the site. Write it as address/prefix, such as
10.1.0.0/16, and pick Private (LAN) or Public. Click Save networks.
Without networks, only pinned devices and devices in pinned folders are at the site.
On the site, click Add relay node. The dialog shows the install command for Linux, Docker and Windows and the Enrollment string in it, each with Copy. The string adds one node and works for 24 hours. It is shown only now; close the dialog and you need a new one.
Run the command on the machine at the site, as described below. The dialog says "Waiting for the node to connect…" and then that the node joined the site. The node shows under Relay nodes with its status, its LAN and public address, its active sessions and its traffic. Rename… changes its name.
Copy the command from the Linux tab, or put the enrollment string in place of <enrollment-string>:
curl -fsSL https://neode.sk/install.sh | sudo bash -s -- --node --join <enrollment-string>The installer installs the service neodesk-relay-node, which runs the server binary in node mode under its own system account. The binary is in /opt/neodesk-relay-node, the settings in /etc/neodesk-relay-node/node.env, and the key in /var/lib/neodesk-relay-node. A NeoDesk server on the same machine stays as it is. Once the node has joined, the installer removes the enrollment string from the env file.
Without more options the node takes the machine's LAN address with port 21117 and no public address. Give them with --lan-addr and --public-addr, as host:port or a bare host, which gets port 21117. Put the enrollment string in place of <enrollment-string> and the node's public address in place of <public-address>:
curl -fsSL https://neode.sk/install.sh | sudo bash -s -- --node --join <enrollment-string> --public-addr <public-address>The installer doesn't open the relay ports in the firewall. It prints the ports to open at the end. Only with --forward, for a site without internet access, it opens the forwarded ports.
Run the command again without --join to update the node. To remove it:
curl -fsSL https://neode.sk/install.sh | sudo bash -s -- --node --uninstallThe key stays in /var/lib/neodesk-relay-node; add --purge to delete it too. Revoke the node in the console as well: Revoke on its row.
The release the installer downloads must have the relay node mode. An older one stops with "This neodesk-server has no relay node mode yet".
The compose file runs the image ghcr.io/neodeskapp/neodesk-server in node mode. In an empty folder, download it:
curl -fsSLO https://neode.sk/install/docker-compose.relay-node.ymlPut the settings into .env next to it, with the enrollment string in place of <enrollment-string> and the node's LAN address in place of <lan-address>, such as the machine's address with port 21117. Add NODE_PUBLIC_ADDR when the node has a public address.
NODE_JOIN=<enrollment-string>
NODE_LAN_ADDR=<lan-address>Start it:
docker compose -f docker-compose.relay-node.yml up -dSet NODE_LAN_ADDR with Docker. Without it the node reports the address it has inside Docker's network, which the computers can't reach. On Linux, network_mode: host in place of the published ports works too, and Wake-on-LAN needs it: with published ports, the node's broadcasts stay inside Docker's network.
The node keeps its key in the volume neodesk-relay-node-data. docker compose -f docker-compose.relay-node.yml logs -f relay-node shows its log. To update it:
docker compose -f docker-compose.relay-node.yml pull
docker compose -f docker-compose.relay-node.yml up -ddocker compose -f docker-compose.relay-node.yml down -v removes the node with its key. On a NAS, create a project from the compose file in the NAS's Docker app and give it the same settings.
In PowerShell as Administrator, copy the commands from the Windows tab, or put the enrollment string in place of <enrollment-string>:
Invoke-WebRequest https://neode.sk/neodesk.ps1 -OutFile $env:TEMP\neodesk.ps1 -UseBasicParsing
& $env:TEMP\neodesk.ps1 -Node -Join <enrollment-string>The script installs the Windows service NeoDeskRelayNode ("NeoDesk Relay Node") in C:\NeoDeskRelayNode, under its own service account. Only Administrators, SYSTEM and the service read the folder, which holds the key. It opens 21117, 21119 and 21125 in Windows Firewall, in rules named "NeoDesk relay node - ". The log is C:\NeoDeskRelayNode\logs\server.log. A NeoDesk server on the same machine stays as it is.
-LanAddr and -PublicAddr set the addresses, as on Linux. Run the script again with -Node and without -Join to update the node; -Node -Uninstall removes it, and -Purge also deletes the key.
When the two computers of a session are at two sites of the same organization, and both sites have a relay node online, the session runs over both nodes. Each computer connects to its own site's node, and one node opens a connection to the other node's leg port, 21125. That connection uses TLS 1.3 with both nodes' own keys. A node accepts it only for a session the central server sent to exactly these two nodes, and only from the node the central server named.
Which address a node dials depends on VPN group. It is a label of your choice: give every site that reaches the others over the same VPN the same label.
- Two sites with the same VPN group reach each other's networks over a VPN. A node dials the other node's private address:
NODE_LEG_LAN_ADDR, by default the host of itsNODE_LAN_ADDRwith port 21125. The VPN has to route between the two nodes and let 21125 through. - Otherwise a node dials the other node's public address:
NODE_LEG_PUBLIC_ADDR, by default the host of itsNODE_PUBLIC_ADDRwith port 21125. That node needs a public address with port 21125 forwarded to it.
Set NODE_LEG_LAN_ADDR or NODE_LEG_PUBLIC_ADDR when other nodes reach this one at another address or port than its relay, for example a port forward from 21225. none reports no address of that kind, so other nodes never dial it there. NODE_LEG_PORT=0 turns the leg port off.
The Windows script opens 21125 in Windows Firewall, and the compose file publishes it. The Linux installer leaves the firewall alone, so open 21125 there yourself towards the other sites' nodes.
The nodes check each other when they connect and every five minutes. For each online node of the organization at another site, the central server asks the node to open a TLS connection to the address a session would use and check the other node's key, with a timeout of 3 seconds. Once two sites have nodes, the Site to site section on the Sites page lists these checks: from which site and node to which, Over a Private network or the Internet, the Result, which is the time the connection took or Not reached, and when it was Checked.
The central server first tries the direction from the initiating computer's node to the other one, then the reverse, so one node that can be reached is enough. A site behind NAT without a port forward can still dial out. A direction whose last check failed is skipped; a pair that wasn't checked yet counts as reachable. When a node can't open a leg in a direction the last check found working, the central server checks that direction again at once, so the next session takes the other direction. When neither direction works, the session goes through one node that both computers can reach, and when there is none, through the central relay. The same happens when a node of the pair is offline, doesn't confirm the session in time or refuses it.
Your sites are connected by a VPN but you don't want relay nodes? See Without a relay node.
A site whose network has no route to the internet can still be a site. Its relay node is the only machine there that reaches the central server, on port 21123. With forwarding turned on, the node also takes the ID server's ports and the client API for the site's computers and passes their traffic on to the central server over its own TLS connection. The computers then use the node as their ID server.
On Linux, add --forward to the install command, with the enrollment string in place of <enrollment-string>:
curl -fsSL https://neode.sk/install.sh | sudo bash -s -- --node --forward --join <enrollment-string>On Windows, add -Forward, again with the enrollment string in place of <enrollment-string>:
& $env:TEMP\neodesk.ps1 -Node -Forward -Join <enrollment-string>Both installers set NODE_FORWARD=Y and open the forwarded ports: the Linux installer in ufw or firewalld when one of them is active, or with iptables when neither is installed, and the Windows script in Windows Firewall, in rules named "NeoDesk relay node - forward …". An update keeps forwarding on. On an installed node, run the command with --forward (or -Forward) and without --join to turn it on.
With Docker, add NODE_FORWARD=Y to .env and replace the ports section of the compose file with network_mode: host. Through Docker's published ports, the node would see every computer at the same address inside Docker's network, and the central server couldn't tell them apart.
The node listens on these ports, on its LAN address unless NODE_FORWARD_LISTEN says otherwise:
| Port | Protocol | What the computers reach there |
|---|---|---|
| 21115 | TCP | The NAT type test |
| 21116 | TCP and UDP | The ID server |
| 21118 | TCP | The ID server over WebSocket |
| 21121 | TCP (HTTP) | The client API |
The relay ports 21117 and 21119 stay as for any node. NODE_FORWARD_SIGNAL_PORT and NODE_FORWARD_API_PORT change the ports on the node. The node doesn't need to know the central server's ports; it names the service, and the central server picks the port.
In the client's network settings at the site:
- ID server: the node's LAN address without a port, such as
192.168.10.5. - Key: the central server's key, the same as on every other computer.
- Relay server and API server: empty. The client then uses the node's relay and its client API on 21121.
The Linux and Windows installers print these settings at the end. Add the site's private network under Networks too, so the computers show at the site.
On the Sites page, the node's row gets a Forwarded devices column while it forwards any. The device's Overview tab shows Connects through with "Relay node" and the node's name.
A computer at such a site reaches only its node, so the central server never sends its sessions to the central relay:
- Two computers forwarded by the same node, or by two nodes of the same site, or one of them at that site: through that node alone. Two computers in the same network behind the same node can still connect directly.
- The other computer at another site with a node online: over both nodes, as in Site to site.
- The other computer at no site, or at a site without a node online: through the forwarding node alone, when the other computer registered from a public address. That needs a
NODE_PUBLIC_ADDRit can reach. - Anything else has no route, and the connection fails with "Relay temporarily unavailable".
When the node is down, the site's computers show as offline: they have no other way to the central server.
The node tells the central server each computer's own address. So the site lookup, the rate limits, the blocklist and the audit log see the computer's address, not the node's. The central server takes that address only from a node whose control connection is up, which means it is enrolled, not revoked, and its site still exists. It also takes only private addresses and addresses in the node's site's networks, and refuses anything else. Revoking the node closes its forwarded connections at once.
Forwarding passes the bytes on unchanged. The end-to-end encryption between the computers stays, and the computers check the central server's key as before, so a node can't pose as the central server.
The central server limits how many connections and UDP packets each node, and each computer behind it, may send per minute. The node answers over UDP only to computers it heard from in the last five minutes. When two sites without internet use the same private range, and two computers there have the same address and UDP port, the central server sends UDP replies through the node it heard from last.
A Wake-on-LAN packet is a broadcast, and routers don't pass broadcasts on. A packet from the central server therefore only wakes computers in the central server's own network. For a computer at a site, the central server asks the site's relay node to send the packet, over the control connection the node already keeps. The node broadcasts it on every network it is in, to UDP port 9.
This covers every place that wakes a computer: Wake in a device's Actions tab, Wake-on-LAN in Network tools, the API and the command line. The console and the API's answer say where the packet left from:
| Situation | Who sends the packet |
|---|---|
| The computer's site has a relay node online | The node, into the site's network |
| The computer belongs to no site | The central server, as on a server without sites |
| The site has no relay node, or its nodes are offline | The central server |
| The node runs an older release that can't send the packet yet | The central server. The console says the node needs an update: update it the way you installed it. |
| The node couldn't send the packet | The central server. The node's log says why. |
A packet the central server sends only reaches computers in the central server's own network, so for a computer at a site it seldom helps. With several nodes at a site, the central server asks the first one that is online and can send.
The node sends a packet only when all of this holds:
- The central server asked for it over the control connection. Nothing in the site's network can make the node send one.
- The request is for a device at the node's own site. Each request names the device's site, and the node refuses one that names another site. The central server asks only a node of the device's site in the first place.
- In Network tools, where you type the MAC address yourself: a device you may see reported that address in its inventory or through its MeshAgent, and that device is at the node's site. Any other address leaves from the central server.
Every wake is recorded with the device, the account and the node that sent the packet: in Server events for Wake on a device and for the API, in Audit log for Network tools.
With Docker, the node needs network_mode: host for this, see With Docker. NODE_WAKE=N turns it off on a node.
A session never fails only because a relay node is down. When the node a session should use is offline, the session uses the central relay. When the node doesn't confirm a session within 2 seconds, the central server sends the session to its own relay and logs why. For a session between two sites, a node that fails moves the session to one node, then to the central relay. A site without internet access is the exception: its computers have no other way out.
The site's summary on the Sites page shows it: "Its relay node is offline. Sessions of its devices use this server's relay until it is back."
- The computers' end-to-end encryption doesn't change. A relay node only passes on encrypted session traffic and never gets the session keys. It gets no account data and no console sessions, only the pair of computers each session connects.
- The enrollment string holds the central server's address, the fingerprint of its certificate and a token. The token works once and for 24 hours, and the central server keeps only its hash.
- The control connection uses TLS both ways. The node checks the central server's certificate against the fingerprint from the enrollment string, and the central server knows the node by the key the node made when it first started.
- The node keeps its key in
node.keyand its enrollment innode.json, readable by the node's account only. Neither shows in a log. - A node sends Wake-on-LAN packets only when the central server asks for them, and only for devices at its own site, see Wake-on-LAN at a site.
- A stolen node key gets only the sessions the central server sends to that node, which are those of its site. Revoke the node in the console: Revoke on its row. It gets no new sessions and is disconnected. Sessions it relays at that moment run until they end, and the node can't join again. Deleting a site does the same for all of its nodes.
- Activity, Audit log records what accounts do in the console: creating enrollment strings, renaming and revoking nodes, and changes to sites and their networks. Server events records what the central server sees from the nodes, with the node as the target: nodes that join, refused joins, revoked nodes, the sessions each node was sent, refused connections between nodes, and refused forwarded connections.
- The central server keeps its control certificate in
node_control.crtandnode_control.keyin its key folder, next to the server's key pair. A full backup includes both, and restoring it puts them back. Without them every node has to join again.
The node's log is the first place to look. On Linux:
journalctl -u neodesk-relay-node -fWith Docker, in the node's folder:
docker compose -f docker-compose.relay-node.yml logs -f relay-nodeOn Windows it is the file C:\NeoDeskRelayNode\logs\server.log. A node that keeps failing retries with a growing wait of up to a minute.
-
Check that the node reaches port 21123 on the central server. On the node, put the central server's address in place of
<server-address>:nc -vz <server-address> 21123A cloud firewall or a reverse proxy in front of the central server has to let 21123 through as plain TCP. The connection has its own TLS and breaks when a proxy ends TLS.
-
"central certificate does not match the pin": the central server has a new control certificate, usually because it was installed again without its key folder. Restore a full backup, or put back
node_control.crtandnode_control.keyfrom one, and restart the server. Or let every node join again: remove it with--purge(-Purge, ordown -vwith Docker) and install it with a new enrollment string. -
"central refused the node: …": the central server refused the control connection. The code after the colon says why; see the next section.
When the central server refuses a node, the node logs "central refused the node: " with a code and a short reason, such as "central refused the node: revoked (this node was revoked)". It tries again after its wait. "Join again" below means: remove the node with --purge (-Purge, or down -v with Docker) and install it with a new enrollment string from Add relay node.
| Code | What it means | What to do |
|---|---|---|
bad_token |
The enrollment string is unknown, was used already or is older than 24 hours. | Make a new one with Add relay node. |
rate_limited |
More than 10 attempts to join came from the node's address within a minute. | Wait. The node tries again by itself. |
unknown_node |
The central server doesn't know the node's key, and the node sent no enrollment string. This happens after the node's site was deleted, or when the central server was set up again with a new database or one restored from before the node joined. | Join again. |
revoked |
The node was revoked, or its site or organization was deleted while it was connected. It relays its running sessions until they end and takes no new ones. | Join again, at a site that still exists. |
site_gone |
The node's site, or the site of the enrollment string, no longer exists. | Join again, at a site that still exists. |
node_mismatch |
The node's node.json names another node than its node.key belongs to, usually because one of the files was copied from another node. |
Join again. |
replaced |
Another connection with the same key took the node's place. Once, after a network change, is normal. | If it keeps coming back, two machines run with the same key, such as a cloned VM or a copied data folder. Stop one, and let the other join again. |
bad_hello |
The central server couldn't read the node's first message. | Update the node to the central server's release. |
internal |
The central server couldn't read or write its database. | Look at the central server's log. |
A node at a site without internet logs refused forwarded connections as "Central refused the signal forward of " with the computer's address, a code and a reason. The service is signal, nat, ws or api.
| Code | What it means | What to do |
|---|---|---|
not_online |
The node's control connection is down, or the node isn't enrolled. | Fix the control connection first, see above. |
bad_forward |
The computer's address is neither private nor in a network of the node's site, or the central server takes no forwarded traffic. The reason says which. | Add the computer's network to the site under Networks. |
rate_limited |
The node, or one computer behind it, opened more connections in a minute than the central server allows. | Look for a computer that keeps reconnecting. |
- The device isn't at the site. The Site row on the device's Overview tab shows its site, or "No site". Add the address the central server sees as a network of the site, or pin the device or its folder.
- The node has no address for the computer. A computer outside the site's networks needs the node's public address, one inside them its LAN address. The Addresses column on the Sites page shows what the node reported. See How a device's site is found.
- The organization's network policy Allowed relay servers doesn't list the node's address. The central server then skips the node, and its log says "excluded by allowed_relay_servers".
- The computers connected directly. Connection sessions then shows Direct under the transport.
- The node's log should say "Forwarding signal …" after it starts. If it doesn't,
NODE_FORWARDisn't set toY, or another program already uses one of the ports. - The computer's ID server is the node's LAN address, and its Key is the central server's key. A key that doesn't match makes the client refuse the server.
- The node's firewall lets 21115, 21116 (TCP and UDP), 21118 and 21121 through from the site's network.
- With Docker, the node runs with
network_mode: host.
Newer stock RustDesk clients check the relay address in a relay request against the relay they were told about, and drop a request that doesn't match; see The relay address a device is sent. A session through a relay node sends the computer that is connected to the node's address. When that computer runs such a stock RustDesk client, it can drop the request, and the connection times out. NeoDesk Desktop connects to the address it gets. Use it on computers at sites with a relay node.
If your sites are already connected by a VPN, you can keep sessions off the internet without any relay node. Put the central server on the VPN, and give the computers its private address as their ID server and relay: under Settings, General, Public client endpoints, set Public ID server and Public relay server to that address, and set up the clients with it. Signalling and relayed sessions then run over your VPN, and nothing needs to be installed at the sites. Computers that aren't on the VPN can't reach that address, so this suits setups where every computer is.
The difference is where the traffic goes. Every relayed session runs through the central server, also between two computers in the same office, so the VPN links to the central server carry all of it. With a relay node, a session between two computers at a site stays on that site's network.








