HomeGuides → Komma igång
Komma igång

How to set up a VPN on your router

Learn how to run a VPN on your router so every device in your home is protected at once, plus how to do it safely without locking yourself out.

A
admin
Lead VPN Tester & Editor
Updated June 2026
7 Fact-checked

Installing a VPN on your router protects every device in your home at once, including ones that cannot run a VPN app themselves, like smart TVs and games consoles. This guide explains how it works, what you need, and how to set it up without getting stuck.

Why put a VPN on your router?

A normal VPN app protects one device at a time. A router-level VPN protects everything connected to your network in a single step. The main benefits are:

  • Whole-home coverage: phones, laptops, TVs and consoles are all protected automatically.
  • No per-device setup: any device that joins your Wi-Fi is covered without installing anything.
  • Devices that cannot run VPN apps: smart TVs, consoles and IoT gadgets get protection they otherwise could not.
  • Always on: the connection is active whenever the router is powered, with nothing to remember.
One device slot, many devices
Most providers count a router as a single connection on your plan, even though it covers your whole home. That makes it an efficient way to use your device allowance.

What you will need

Before you begin, make sure you have:

  • A VPN subscription from a provider that supports router setups.
  • A compatible router, ideally one that supports OpenVPN or WireGuard.
  • Your router’s admin login details, usually on a sticker on the device.
  • The VPN configuration details from your provider’s website.

Not every router supports VPNs out of the box. Many providers publish a list of compatible models, and some sell pre-configured routers if yours is not supported.

Some providers, including ExpressVPN, offer their own router app or firmware that makes setup dramatically easier than the manual method. If router VPNs are your main goal, that is worth seeking out.

How to set up a VPN on your router

The exact screens differ by router brand, but the overall process is the same everywhere.

  1. 1
    Log in to your router

    Type your router’s IP address (often 192.168.0.1 or 192.168.1.1) into a browser and sign in.

  2. 2
    Find the VPN section

    Look under Advanced, Security or VPN Client in the settings menu.

  3. 3
    Get your VPN config

    In your VPN account dashboard, download the configuration file or copy the server credentials.

  4. 4
    Enter the details

    Paste the server address, your VPN username and password into the router’s VPN client.

  5. 5
    Connect and test

    Save, enable the connection, then check your IP on a connected device to confirm it changed.

Once the router shows a connected status and a device on your network reports the VPN server’s location, you are done. Every device on that network is now routed through the VPN.

Check firmware first

If your router has no VPN client option, you may be able to install custom firmware such as DD-WRT or OpenWRT to add one. This is more advanced and can void warranties, so only attempt it if you are comfortable and have checked your model is supported.

Things to watch out for

A router VPN is powerful, but there are a few trade-offs to keep in mind:

  • Speed: routers have less processing power than computers, so encryption can reduce speeds. A WireGuard-capable router helps.
  • Switching countries: changing the server location means logging back into the router, not just tapping an app.
  • Selective use: if you want some devices off the VPN, set up a second non-VPN network rather than toggling constantly.
Write down your router’s original settings before you start. If something goes wrong, you can reset the router and restore them rather than losing your internet.

For ease of setup, ExpressVPN’s dedicated router support is hard to beat, while Proton VPN remains our top all-round pick thanks to its strong privacy and WireGuard speeds. Any of the options below works well on a compatible router.

1
Proton VPN — Best overall
2
ExpressVPN — Streaming, beginners, and everyday privacy on every device
3
NordVPN — Best all-rounder
See the full ranking

Will a router VPN slow my whole network?

It can, because the router handles all the encryption. A modern router with WireGuard minimises the impact.

Can I still pick different countries?

Yes, but you change the server in the router settings rather than in an app, so it is less convenient.

What if my router does not support VPNs?

Consider custom firmware if your model supports it, or buy a pre-configured VPN router.


VPN Runner is reader-supported. If you sign up for a VPN through a link on our site, we may earn a commission — at no extra cost to you. It never affects our ratings or rankings: we test every service the same way and pay for our own subscriptions.

A
admin
Lead VPN Tester & Editor

Tests real speeds and unblocking in the VPN Runner lab, and stands behind every recommendation in this guide.