All videos

What a Relay is, and what you need

Also on YouTube

The four parts of a Viaalink Relay setup (visitor, domain, Relay, device) and the three things to get before you install: a domain, a NAS or server that stays on, and a router you can forward ports on.

Length
2:43
Published
Language
English
Transcript

Start with the person who wants to open your app. We call them the visitor. They type an address in a browser, and their request has to end up at your app. The request passes three stops. First your domain, which tells the internet where your Relay is. Then your Relay, a program on your NAS, or on a server. Then the device, the computer where the app runs. One thing is the other way round. The device connects out to your Relay, and keeps that connection open.

The Relay sends the visitor's request back along it. That is why the device's own network needs nothing opened: it can sit at home, at the office, or on a train. Four words come back in every lesson, and in the dashboard. A Relay is the program that receives the visitors. A device is a computer that joined your Relay with a key of its own. A name is the address a device holds, like notes. And the domain is the part all names share, here relay.example.com.

Every device can hold names of its own, and all of them sit under your one domain. So you set up the domain once, and every new name works by itself. Before you install, get three things. One: a domain you control, where you can add DNS records. That is how the internet finds your Relay. Two: a NAS or a server that stays on, because visitors come at any hour. Three: if it sits behind a router at home or at the office, you need to be able to forward ports on that router.

That is how visitors get through to it. You also need a free account on viaalink.com, for the license. You create it when you set up your Relay; you have 14 days. A common mistake is to open ports on the network of the device. That is not needed: the device connects out. The only router that needs forwards is the one in front of your Relay. The lessons follow the order of the setup: install your Relay, set up your domain, forward the ports on your router, and connect a first device.

To recap. A visitor reaches your app through your domain and your Relay. The device connects out to the Relay. You need a domain, a machine that stays on, and a router you can forward ports on. Here is a question to check yourself. Anna runs her app on her laptop in a café. Which router needs a port forward? Pause the film if you like. The answer: only the router in front of your Relay.

Read more