Vigiora

Denne siden finnes ikke på Norsk bokmål ennå. Den vises på engelsk.

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#

  1. You open your site address as usual.
  2. The app quietly checks whether it can reach the server on your network.
  3. If it can, recordings play from the local address, and the app either switches over by itself or offers to.
  4. 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.

  1. Edit the settings file

    On the server, open /etc/vigiora.env as root and add this line:

    /etc/vigiora.env
    VIGIORA_LAN_DIRECT=1
  2. Restart the server

    Terminal
    sudo systemctl restart vigiora

    The server adds lan.yourname.vigiora.com to its certificate and opens port 8444 on your network. This can take a few minutes.

  3. Allow port 8444 if needed

    If ufw or firewalld is active on the server, allow TCP 8444, for example sudo ufw allow 8444/tcp.

SettingBeskrivelseStandard
VIGIORA_LAN_DIRECTTurns LAN-direct on (1) or off (0).Off
VIGIORA_LAN_TLS_PORTThe local HTTPS port.8444
VIGIORA_LAN_IPThe 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#

ProblemWhat to do
The pill never appearsCheck 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 networkYour 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 addressWhen switching, the app asks Switch account?. Continue only if you opened the link yourself.
Rediger denne siden på GitHub