The networkEvery page
VPN
The VPN module runs a WireGuard tunnel. Once it's set up, your phone or laptop can reach your home network from anywhere, as if it were at home. You switch it on and off on the Modules page.
The page starts with how the tunnel is doing, for example: "The tunnel is up: devices dial in on UDP 51820. 2 of 3 devices seen in the last few minutes." Below that you'll find the devices, Over the tunnel, and the settings.
Devices that dial in
Press Add a device to create its configuration. panel shows it once, as a file and as a QR code for the WireGuard app. panel doesn't keep the device's private key. Each device's row shows when it was last seen and how much data it sent and received.
Devices connect to a UDP port. On a router, panel opens that port to the internet for you. If this machine sits behind another router, forward that port to this machine on the other router.
Dialing out instead
The tunnel can also work the other way round. Then this machine connects out to a VPN somewhere else, using a configuration file you import. In that case, no port needs to be open.
Over the tunnel
When the tunnel dials out, you can tick devices here. Those devices use the tunnel to reach the internet. Every other device uses your own line as before.
Some tunnels only carry their own network and no internet. With those, you can't send devices through the tunnel, because they would lose the internet.
More than one tunnel
You can add more tunnels that dial out, up to eight in all. For example, one VPN that comes out in the Netherlands and one in the US. Each device picks which one it uses, or none.
Press Add another tunnel (or Add a tunnel once there are a few) and import the configuration file from your VPN provider. The new tunnel comes up, and nothing moves until you choose devices for it.
With more than one tunnel, the page starts with the list of tunnels. Press one to see how it's doing, which devices go over it, and its settings. Rename gives it a name you'll recognize, like the provider or the country.
- A device uses one tunnel at a time. When you tick a device that already goes over another tunnel, the list says so, and saving moves it. The same goes for this appliance itself.
- Only the first tunnel can be one devices dial in to. The others dial out. They don't need a port opened.
- The DNS line in a provider's file isn't used for the extra tunnels. The devices you send over them keep asking panel for names.
- Changes to the extra tunnels apply straight away, without the countdown to keep them. They only move the devices you chose for them, so they can't cut you off.
A device's own page on Network shows which tunnel it goes out over.
Settings
Here you can bring the tunnel up or down, and change its address. You'll also see its public key, which is safe to share, and what it needs to reach. You can delete the tunnel here too. Every change has to be kept.
The tunnel's private keys never reach this page. After a restart, the tunnel comes back up by itself, unless you took it down here.
Switching it off
Switching the VPN off on the Modules page takes the tunnel down. panel remembers whether it was up, so switching the VPN on again brings it back the way it was. panel won't let you switch it off while you're connected through the tunnel, because that would cut you off.