All guides

How to Put Your Whole Home Network Behind a VPN

Run a WireGuard VPN on a Raspberry Pi 5 router so every device at home uses it, including TVs and consoles that cannot run a VPN app. Steps and honest limits.

A VPN app protects the one device it is installed on. If you want the same for the whole household, the simpler place to run the VPN is the router: every device that joins your WiFi then uses it automatically. This guide shows how to do that with Telepi, a do-it-yourself portable router built on a Raspberry Pi 5, and is clear about what the setup will not do.

Why run the VPN on the router

Installing a VPN app on each phone and laptop works, but it leaves gaps and gives you more to look after.

  • Some devices cannot run a VPN app. Smart TVs, games consoles and e-readers often have no VPN client at all. Behind a VPN router they are covered anyway, because the router does the work.
  • One switch for everything. You turn the VPN on or off in one place instead of on every device.
  • Nothing to install. Guests, new gadgets and work laptops you are not allowed to modify are covered as soon as they join your WiFi.

The trade-off is that the choice is made for the whole network at once. More on that in the limits section below.

What you need

  • A working Telepi router. That is a Raspberry Pi 5 running the free Telepi OS image. If you have not built one yet, start with the Raspberry Pi 5 router guide, or download the image from /download.
  • A WireGuard config. This comes from a VPN provider that supports WireGuard, or from your own WireGuard server. It is normally a small text file ending in .conf. Most providers that support WireGuard let you generate or download one from your account page, usually in a section meant for routers or manual setup.
  • A phone or laptop connected to Telepi, for the setup and for testing.

Telepi's VPN is a WireGuard client only. If your provider offers nothing but OpenVPN, this guide will not work with it.

Treat the config file like a password. It contains a private key, and anyone who has it can use your VPN account.

Step by step

  1. Note your current public IP address. On a device connected to your Telepi WiFi, open any "what is my IP" web page and write down the address and location it shows. You will compare against this later.
  2. Open the Telepi web interface. Go to http://192.168.111.200:8080 (http, not https, and the :8080 matters). Sign in with admin and your web password. The default is telepi.com; if you have not changed it yet, do that on the Setting page.
  3. Open the VPN Client page from the menu.
  4. Import the config. Import the WireGuard config file you downloaded. If you would rather not use the file, you can fill in the fields by hand using the same values.
  5. Switch the VPN on. One switch turns it on. From this moment, all devices behind Telepi go through the VPN.
  6. Check the status. Look at the status and connection details on the VPN Client page to confirm the tunnel is connected rather than still trying.

The VPN Client page in the Telepi web interface

If your Telepi sits behind your ISP's router at home, either by WiFi or by an Ethernet uplink, nothing needs changing on the ISP's box. Telepi makes the VPN connection outwards through it.

Check that it works

Do not rely on the switch alone. Test from a device.

  1. On the same device as before, reload the "what is my IP" page.
  2. The address should now be different from the one you wrote down, and the location should match the VPN server you chose rather than your home.
  3. Repeat on a second device, ideally one that cannot run a VPN app such as a TV with a browser, to confirm the whole network is covered.

If the address has not changed:

  • Make sure the device is really on the Telepi WiFi and not on the ISP router's own WiFi or on mobile data.
  • Look at the VPN Client page again. If the tunnel is not connected, the config is the usual cause: re-download it from your provider and import it again.
  • Check that the internet works with the VPN switched off. If it does not, fix the upstream connection on the Internet page first.

Switching it off

Go back to the VPN Client page and turn the switch off. Traffic returns to the normal upstream connection, and the "what is my IP" page should show your original address again. The imported config is for the router only, so there is nothing to undo on your devices.

This is handy when a service refuses to work over a VPN: switch off, do what you need, switch back on.

Limits worth knowing

Limit What it means for you
WireGuard client only No OpenVPN, and no Tailscale or ZeroTier integration.
No VPN server Telepi connects out to a VPN. It does not let you connect in to your home network from elsewhere.
All or nothing When the VPN is on, everything behind Telepi goes through the tunnel. There is no per-device or per-site split in the web interface.
Speed varies Throughput depends on the Raspberry Pi, your internet line, and the provider's server and its distance from you. Expect some slowdown compared with no VPN.
Devices not on Telepi are not covered A phone on mobile data, or a device still joined to the ISP router's WiFi, does not use the tunnel.

A VPN is also not anonymity. It hides your traffic from the local network and your ISP, and it shows websites the VPN server's address instead of yours. The VPN provider can still see where your traffic goes, and websites still recognise you through logins, cookies and browser fingerprinting. Choose a provider you are prepared to trust, or run your own WireGuard server.

Next steps