How to Set Up a VPN on Your Router: A Step-by-Step Guide

A home router on a shelf with cables and a laptop

How to Set Up a VPN on Your Router: A Step-by-Step Guide

A home router on a shelf with cables and a laptop

Learning how to set up a VPN on your router is the single best upgrade for a home network. A router VPN protects every device in the house at once: the smart TV, the games console, the phone, the laptop, and the devices that cannot run a VPN app at all.

It also solves the problems that device-by-device VPNs cannot. Samsung and LG TVs cannot install VPN apps, and a router VPN covers them. A household with ten devices needs only one VPN connection on the router, not ten subscriptions.

This guide walks through the whole setup, step by step: checking your router, choosing OpenVPN or WireGuard, configuring Asus, TP-Link, Netgear and GL.iNet routers, and testing that the VPN is actually working.

Short answer: To set up a VPN on your router, check that your router supports a VPN client, download the OpenVPN or WireGuard config files from your VPN provider, upload them in the router’s VPN settings, enter your login details, and connect.

Then run a leak test to confirm your visible IP address matches the VPN server.

Key Takeaways

  • A router VPN protects every device on your home network at once, including TVs and consoles that cannot run a VPN app.
  • Check your router first: Asus, TP-Link, Netgear and GL.iNet models usually support VPN clients, but ISP-supplied routers often do not.
  • WireGuard is faster than OpenVPN on most home routers, and it is the better choice where it is supported.
  • Always run a leak test after setup to confirm your IP address and DNS go through the VPN.
  • A weak router can slow your whole connection, so test your speed before and after the setup.

Hands configuring a router on a laptop
Before You Start: Check Your Router and VPN

Not every router can run a VPN client, and this is the step most guides skip. Open your router’s admin page, look for a VPN section, and check whether it lists OpenVPN or WireGuard as a client option. If there is no VPN section, your router probably cannot do it.

Asus routers with Asuswrt firmware are the easiest, because most models include a VPN client. TP-Link, Netgear and GL.iNet also support VPN clients on many models. ISP-supplied routers usually do not, because the provider locks the firmware down.

Check your VPN provider too. It must offer router config files, which are usually OpenVPN .ovpn files or WireGuard configs, and it must support enough simultaneous connections for your household. Most leading providers do, but free VPNs usually do not.

If Your Router Cannot Run a VPN

If your router cannot run a VPN, you have three options. The first is to install custom firmware such as Asuswrt-Merlin or DD-WRT, which adds VPN support to compatible routers, though it voids the warranty on some models.

OpenVPN Versus WireGuard on a Router

OpenVPN is the older protocol, and it works on almost every router that supports a VPN client. It is flexible, well tested, and supported by every major provider, but it is slower than WireGuard, especially on a weak router processor.

WireGuard is the newer protocol, and it is faster and simpler. It is built into the Linux kernel, it uses modern encryption, and it connects in seconds. The trade-off is support: fewer routers offer a WireGuard client, though the number grows every year.

If your router supports both, choose WireGuard for speed. If it supports only OpenVPN, that is fine too, because OpenVPN is fast enough for streaming and browsing on most home connections.

How Much Speed Will You Lose

A router VPN always costs some speed, because the router has to encrypt every packet. On a modern router with a decent processor, the loss is small, often under 10%. On an old or cheap router, it can be much larger, and 4K streaming may suffer.

A family using devices on a home network
Step-by-Step: Setting Up a VPN on Your Router

The setup follows the same pattern on every router, though the menus differ by brand. First, download the config files from your VPN provider’s website: pick a server location, choose OpenVPN or WireGuard, and download the config file for that server.

Next, log into your router’s admin page, usually at 192.168.1.1 or 192.168.0.1, and find the VPN client section. Upload the config file, enter your VPN username and password, and save the settings. Some routers need you to paste the config text instead of uploading a file.

Finally, turn the VPN client on and wait for it to connect. The router will show a connected status, and your visible IP address will change to the VPN server’s address. If it does not connect, check the username and password first, because that is the most common mistake.

Asus Router Setup

On an Asus router, open the admin page, go to VPN, then VPN Client, and click Add Profile. Choose OpenVPN or WireGuard, upload the config file from your provider, enter your login details, and click Activate. Asus routers also support policy routing, which lets you choose which devices use the VPN.

TP-Link, Netgear and GL.iNet Setup

On a TP-Link router, go to Advanced, then VPN Client, and add a profile with your provider’s config file. On a Netgear router, the VPN client is under Advanced Setup, then VPN Service, though not all Netgear models include it.

Verifying the Router VPN Is Actually Working

A router VPN that looks connected but is not routing traffic is worse than no VPN, because you think you are protected when you are not. Always verify it with a leak test after setup, and again after any firmware update.

The simplest test is to check your IP address from a device on the network. Open a browser, search for your IP address, and confirm it matches the VPN server’s location, not your real one. If it shows your real location, the VPN is not working.

The second test is a DNS leak test. Run one from the browser, and confirm that the DNS servers listed belong to your VPN provider, not your internet provider. If your internet provider’s DNS appears, your DNS is leaking outside the tunnel.

What to Do If the Test Fails

If the IP test shows your real location, the VPN client is not running or the config is wrong. Check the router’s VPN status, confirm the username and password, and try a different server config file.

If the DNS test leaks, set the router’s DNS to your VPN provider’s servers, or enable the router’s DNS leak protection if it has one. Restart the router after the change, and test again before you rely on the setup.

Per-Device Rules and Split Routing on a Router

A router VPN protects everything by default, but sometimes you want an exception. A games console may need a direct connection for the lowest lag, a work laptop may need to bypass the VPN for a company system, and a smart TV may need a different country from the rest of the house.

This is called policy routing or split routing, and Asus, GL.iNet and custom firmware such as Asuswrt-Merlin support it. You list the devices that should use the VPN, and the devices that should connect directly, and the router follows the rules.

Set the rules carefully, because a mistake can leave a device unprotected without you noticing. Test each device after you set the rules, and keep a note of which devices bypass the VPN, so you can check them later.

Common Router VPN Problems and Fixes

The most common problem is a slow connection, which usually means the router processor is too weak for the encryption. Switch to WireGuard, pick a nearer server, or upgrade the router if the problem persists.

The second problem is a streaming service that blocks the VPN. Switch servers inside the same country, or use policy routing to let the TV bypass the VPN for that service. The third problem is a dropped connection, which a kill switch on the router prevents by blocking traffic until the VPN returns.

Router VPN Setup by Brand

Here is how the main router brands compare for VPN setup: which protocols they support and how easy the setup is.

Router brandVPN protocolsSetup difficultyPer-device rules
Asus (Asuswrt)OpenVPN, WireGuardEasyYes
TP-LinkOpenVPN, WireGuardMediumOn some models
NetgearOpenVPNMediumLimited
GL.iNetOpenVPN, WireGuardVery easyYes
ISP-supplied routerUsually noneNot supportedNo

Router VPN Setup Checklist

Work through this checklist when you set up a VPN on your router, so the setup actually protects your whole home.

  1. Check that your router supports a VPN client, and which protocols it offers.
  2. Download the OpenVPN or WireGuard config files from your VPN provider.
  3. Upload the config in the router’s VPN client section and enter your login details.
  4. Choose WireGuard where it is supported, because it is faster on most routers.
  5. Run an IP leak test and a DNS leak test from a device on the network.
  6. Test your speed before and after setup, and try a nearer server if it is slow.
  7. Set per-device rules carefully, and test each device after you change them.
  8. Restart the router after any change, and re-test before you rely on the setup.

Frequently Asked Questions

How do I set up a VPN on my router?

Check that your router supports a VPN client, download the OpenVPN or WireGuard config files from your VPN provider, upload them in the router’s VPN settings, enter your login details, and connect. Then run a leak test to confirm it works.

Which routers support a VPN client?

Asus, TP-Link, Netgear and GL.iNet routers usually support VPN clients, though it varies by model. ISP-supplied routers usually do not, because the firmware is locked down. Check your router’s admin page for a VPN section.

Is WireGuard or OpenVPN better for a router?

WireGuard is faster than OpenVPN on most home routers, because it is simpler and built into the Linux kernel. OpenVPN works on more routers and is more flexible. Choose WireGuard where it is supported.

Will a VPN on my router slow down my internet?

A router VPN costs some speed, because the router encrypts every packet. On a modern router the loss is often under 10%, but on an old or cheap router it can be much larger. Test your speed before and after setup.

How do I know if my router VPN is working?

Check your IP address from a device on the network and confirm it matches the VPN server’s location, not your real one. Then run a DNS leak test and confirm the DNS servers belong to your VPN provider.

Can I use a VPN on my router and on my phone?

Yes. A router VPN protects your home network, and a VPN app on your phone protects you when you leave the house. The two work independently, and you can use the same subscription for both.

What if my router does not support a VPN?

You can install custom firmware such as Asuswrt-Merlin or DD-WRT on a compatible router, buy a router that supports VPN clients, or use a pre-configured router such as ExpressVPN’s Aircove, which works out of the box.

Conclusion

Setting up a VPN on your router is the best way to protect a whole home at once. It covers the TV, the console, the phone and every device that cannot run a VPN app, and it needs only one connection instead of ten.

Check your router, pick WireGuard where it is supported, and always run a leak test after setup. That is how a router VPN stops being a project and starts being the quiet protection your home network runs on.

For more on choosing a VPN, see our guides to the best VPN services and the best VPNs for privacy, our best VPNs for streaming, and the best VPNs for Netflix.

on this page