Lesson: router forwarding and the Overview checks
Make the four port forwards on your router for a Viaalink Relay on a NAS, set the public ports so addresses carry no port number, read the Network table and the Overview, and fix a red row with Check DNS. The text of the film 'Router forwarding and the Overview checks'.
Watch the film on YouTube (4:43) Opens YouTube in a new tab.
After this lesson your Relay’s addresses work from anywhere, without a port number.
You need your Relay on a NAS (1.40.12 or later), its DNS records (Lesson: your domain, the wildcard DNS record), and your router’s port forwarding page.
Why forwards
Your NAS sits behind your router, and the router lets nothing in by itself. Three kinds of traffic have to come in: visitors, devices and calls. A device calls out from its own network, and that call arrives at your router from outside. So each kind needs a forward: a rule that passes one port on to the NAS.
1. Make four forwards on your router
In your router’s own settings, forward to your NAS:
| From outside | To the NAS | For |
|---|---|---|
443 TCP | 28443 | Visitors over HTTPS |
80 TCP | 28081 | Plain HTTP |
28022 TCP | 28022 | Devices |
3478 UDP | 3478 | Calls |
Let’s Encrypt only checks on ports 80 and 443 before it gives your Relay a certificate, and on those two your visitors get addresses without a port number.
2. Tell your Relay the public ports
Your Relay does not know about those forwards, so its links still carry port 28443.
In your Relay’s dashboard, click Settings, then Network. Further down is Domain, ports and access, with the ports your Relay listens on. Set Public HTTPS port to 443 and Public HTTP port to 80, then click Save at the bottom of the form.
The change now waits in a bar: nothing changes until the restart. Click Restart now, and confirm with the Restart button that follows. The Relay is away for a few seconds, and devices reconnect by themselves. From then on, the addresses and links it hands out carry no port number.
3. Read the Network table
At the top of Settings › Network is the Network table, with a row for each service. Inside is the port on your NAS, and On the router is the port from outside: for the web it now reads 80 and 443, matching the rules on your router.
Every row has a coloured dot. Dark blue means the Relay does not know: you made the rules yourself, so it cannot see them. The table shows what the Relay was told, not what the internet sees.
4. Read the Overview
The Overview checks your Relay every time you open it. The word at the top sums it up, and a green dot means checked and fine. It checks your DNS records and your certificates, but not your router’s forwards.
5. Follow a red row
A mistake that is easy to make at your DNS provider: the wildcard record points at your NAS’s address inside your own network. Nobody outside can reach that address, so no visitor ever arrives.
The Overview then says needs attention with a red dot (checked, and wrong), and the row below says why: names resolve somewhere other than this Relay.
Every red row has a button that takes you to the page where you fix it. Here that is Check DNS: click it once, and the notice names the address the wildcard points to, and the one it should be. Fix the record at your DNS provider with your public address, and check again. Back on the Overview the row is gone.
Check yourself
Your router only forwards 28443, with the same number. Why does your Relay get no certificate?
Let’s Encrypt only checks on ports 80 and 443, so those two need a forward.
Read on
- Every port and what it is for: Relay Ports.
- When something stays red: Troubleshooting.