Reach an Edge Server from another network
The Edge Server runs on your site network. It has no address on the internet. To use it from home, from another site or from a phone on mobile data, connect through a VPN. A VPN is a private link to your site network from outside it.
Do not open port 8443 to the internet on your router. A VPN gives the same access and keeps the Edge Server private.
Use Tailscale
Tailscale is a VPN that needs no router setup. Each computer and phone that you add gets a private address. The addresses start with 100..
On the Edge Server computer
-
Install Tailscale. Use the instructions at tailscale.com/download.
-
Connect the computer to your Tailscale account:
sudo tailscale up -
Get the Tailscale address of the computer:
tailscale ip -4The command shows an address such as
100.64.0.10. Write it down.
On your computer or phone
- Install Tailscale from tailscale.com/download, or from the App Store or Google Play.
- Sign in with the same Tailscale account.
- Use the Tailscale address of the Edge Server where you usually use its site address:
| To use | Do this |
|---|---|
| Web app | Open https://<Tailscale address>:8443 in a browser. |
| Desktop app | Add the Edge Server with the Tailscale address. See Link the desktop app. |
| Mobile app | Type the Tailscale address. See Link your phone to an Edge Server. |
| API | Send calls to https://<Tailscale address>:8443. |
The Edge Server certificate is self-signed. The browser shows a warning the first time. The desktop app and the mobile app show the certificate fingerprint and ask you to confirm it. Compare the fingerprint with the one the Edge Server shows.
Use your own VPN
If your site has a VPN already, for example WireGuard, OpenVPN or the VPN of your router, use that.
- Connect your computer or phone to the VPN.
- Use the site address of the Edge Server, for example
https://192.0.2.10:8443. Nothing changes on the Edge Server.
What works through a VPN
| Works | Does not work |
|---|---|
| The web app, the desktop app and the mobile app: live values, charts, alerts and settings | Bluetooth. To pair a sensor or a Controller, be near it. |
| The Read API and the Write API |
Keep each LoRaWAN gateway on the site network with the Edge Server. A gateway does not need the VPN.
More than one site
Each site has its own Edge Server. Add each Edge Server computer to the same Tailscale account, or connect each site to your VPN. The desktop app saves more than one Edge Server, so you can change between sites. See "Manage saved Edge Servers" in Link the desktop app.
Next
- Get the Edge Server: install it and make an API token.
- Link the desktop app: add an Edge Server by its address.
- Link your phone to an Edge Server: sign in from the mobile app.