- Οδηγοί
- Απομακρυσμένη πρόσβαση
- LAN-direct
Αυτή η σελίδα δεν είναι ακόμη διαθέσιμη στη γλώσσα Ελληνικά. Εμφανίζεται στα αγγλικά.
LAN-direct
Use your site address at full local speed when you're on the same network as your server.
When you open https://yourname.vigiora.com on the server's own network, your traffic would normally go out to the Vigiora relay and back. LAN-direct avoids that: the app finds the server on your network and switches to a secure local address, https://lan.yourname.vigiora.com:8444. Video and recordings then load at local speed and don't count toward the free plan relay limit.
How it works#
- You open your site address as usual.
- The app quietly checks whether it can reach the server on your network.
- If it can, recordings play from the local address, and the app either switches over by itself or offers to.
- If you leave the network, the app goes back to your site address on its own.
The local address uses the same certificate as your site address, so the browser shows no warning and the connection is encrypted.
Turn LAN-direct on#
LAN-direct is off by default. An administrator turns it on in the server's settings file.
Edit the settings file
On the server, open
/etc/vigiora.envas root and add this line:/etc/vigiora.env VIGIORA_LAN_DIRECT=1Restart the server
Terminal sudo systemctl restart vigioraThe server adds
lan.yourname.vigiora.comto its certificate and opens port 8444 on your network. This can take a few minutes.Allow port 8444 if needed
If ufw or firewalld is active on the server, allow TCP 8444, for example
sudo ufw allow 8444/tcp.
| Setting | Περιγραφή | Προεπιλογή |
|---|---|---|
| VIGIORA_LAN_DIRECT | Turns LAN-direct on (1) or off (0). | Off |
| VIGIORA_LAN_TLS_PORT | The local HTTPS port. | 8444 |
| VIGIORA_LAN_IP | The server's local address for lan.<name>. Leave empty to use the address of its main network interface. | Automatic |
Use it#
When the app is on the local connection, a Local network ⚡ pill shows at the bottom right. Click it to:
- Use the public address: go back to your site address.
- Use the public address and stop switching automatically.
When the server is reachable locally but the app hasn't switched, the pill says Local network available. Click it, then:
- Switch to the local network, or
- tick Switch automatically on this browser to switch every time.
In Playback, a Local network or Remote label shows where recordings are streaming from.
Troubleshooting#
| Problem | What to do |
|---|---|
| The pill never appears | Check LAN-direct is on and you opened the site address (not http://…:8080). Wait a few minutes after the restart for the certificate. |
| Couldn't switch to the local network | Your device may block local addresses for public names (some routers do, as "DNS rebinding protection"). Allow vigiora.com on the router, or use http://<server-address>:8080 on your network. |
| Signed in as someone else on the local address | When switching, the app asks Switch account?. Continue only if you opened the link yourself. |