How to set up a VPN on a router

A VPN on your router protects every device on your home network, including smart TVs and game consoles that cannot run VPN apps.

Before you start

  • A router whose firmware includes a VPN client feature (check the manual; many models only include a VPN server)
  • Your router's admin password
  • A WireGuard or OpenVPN configuration file from your provider
  • A wired connection to the router while you make changes

Not sure which provider to use yet? Start with how to choose a trustworthy VPN.

Typical path in a router admin page
  1. Router admin page
  2. Advanced
  3. VPN
  4. VPN Client

Admin page address: it is printed on the router label, often 192.168.0.1 or 192.168.1.1. Type it into your browser while connected to the router.

Set up a VPN on a router with a provider configuration

The provider's app is the easiest option and usually includes a kill switch, DNS leak protection and modern protocols such as WireGuard.

Router admin page, Advanced, VPN, VPN Client tab showing a connected WireGuard profile, an upload button and a block-when-VPN-down option
Illustration: A typical VPN Client page in a router admin panel; layouts differ between router brands. Menu names and layout may differ slightly on your device.
  1. Confirm VPN client support

    In the admin page or manual, look for VPN Client with WireGuard or OpenVPN support. A “VPN Server” feature is something different.

  2. Update the firmware

    Apply the latest router firmware before adding a VPN.

  3. Generate a router configuration

    In your VPN provider's account area, create a WireGuard or OpenVPN configuration for router or manual use and save the file.

  4. Add the profile

    Open VPN → VPN Client in the admin page, add a new profile, upload the file and enter any user name or password required.

  5. Enable and apply

    Turn the profile on and apply. Some routers let you choose which devices use the VPN; select all devices or the ones you want to protect.

Router VPN without built-in client support

If your router has no VPN client feature, you have two options.

  1. Use a VPN-capable travel or secondary router

    Connect a second router that supports VPN client mode behind your main router and join your devices to it.

  2. Use VPN apps on each device

    Set up the provider's app on each phone and computer with our step-by-step setup guide.

How to check the router VPN is working

  1. Check the router status

    The VPN Client page should show Connected with a tunnel IP address.

  2. Test from a device

    On any device connected to the router (with its own VPN app turned off), check that the IP address now belongs to the VPN server.

  3. Run a DNS leak test

    Only your VPN provider's DNS servers should appear. If your ISP shows up, set the router's DNS to the servers your VPN provider recommends.

For a complete set of leak tests, see how to check if your VPN is working.

Recommended router VPN settings

SettingWhere to find itWhy it matters
Kill switch / block when VPN downVPN Client profile optionsStops devices from using the internet without the VPN.
DNS from VPNVPN Client profile or WAN DNS settingsPrevents DNS leaks to your ISP.
Per-device routingVPN Client → device or policy listLets devices like a work laptop bypass the home VPN.
Strong admin passwordAdministration settingsProtects the device that now carries all of your traffic.

Fixing common router VPN problems

ProblemWhat to try
Internet is much slowerRouter processors limit encryption speed. Use WireGuard if supported, or keep the VPN on devices instead.
Some services block the connectionRoute those devices outside the VPN with per-device routing.
The tunnel does not connectRegenerate the configuration file, check the router's date and time, and make sure the firmware is current.

Router VPN questions

Is a router VPN better than a VPN app?

It covers every device, including those that cannot run apps, but you cannot easily switch servers per device and speed depends on the router's processor.

Should I use a VPN app on top of a router VPN?

Usually not. Running both adds a second tunnel and slows the connection. Turn the app off on devices behind the router VPN.

Which protocol is best for routers?

WireGuard, if your router supports it. It is much lighter than OpenVPN, which matters on router hardware.

Sources and official documentation

If your screen differs from our description, the official documentation takes precedence.

Ready to protect your connection?

Follow our step-by-step guide to choose a trustworthy provider, set up your device and confirm that your VPN is working.

GET VPN