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.

A device dials in, and is on your home networkYour phone to The router: the tunnel. The router and Your home network: as if at home.At homeYour phoneaway, in WireGuardThe routerUDP 51820 openYour home networkthe NAS, the printerthe tunnelas if at home
A device dials in, and is on your home network

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.

Dialing out: the devices you tick go through the tunnel, the rest through your own lineDevices you ticked to The router. The rest to The router. The router to A VPN elsewhere: the tunnel. The router to Your own line.Devices you tickedunder Over the tunnelThe restevery other deviceThe routerdials outA VPN elsewherefrom your configurationYour own lineas beforethe tunnel
Dialing out: the devices you tick go through the tunnel, the rest through your own line

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.

Each device goes over its own tunnel, or noneThe TV to The router. A laptop to The router. The rest to The router. The router to Mullvad NL. The router to Proton US. The router to Your own line.The TVover Mullvad NLA laptopover Proton USThe restno tunnelThe routerthree ways outMullvad NLa tunnelProton USanother tunnelYour own lineas before
Each device goes over its own tunnel, 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.