SYSTEM: ONLINE
THREAT FEED: LIVE
LAST SCAN: July 21, 2026
247plan_net

How to Set Up a VPN on Your Router (2026): Whole-Home Protection, Step by Step

Quick answer: To put a VPN on your router you need a router that either supports VPN client mode natively (some Asus, GL.iNet, and a few others) or one running custom firmware (DD-WRT, Tomato, or OpenWRT). You install your VPN provider's OpenVPN or WireGuard config into the router's WAN-side VPN client, point every device on the network through it, then verify with a DNS leak test. The catch is speed: a consumer router's CPU is the bottleneck, so expect a real throughput hit. For most people a per-device app is the better call. Router-level is for whole-home coverage and for devices that cannot run an app.

Disclosure. Some links on this page are affiliate links. If you buy through them 247plan earns a commission at no extra cost to you. Which router firmware and VPN I recommend does not change based on who pays; the recommendations are what I would set up on my own network.

I have set up router-level VPNs on my own network more times than I can count, and I want to open with the part most guides bury: you probably do not need to do this. If you can install a VPN app on the three or four devices you actually care about, do that instead. It is faster, it is easier to troubleshoot, and you keep full speed on everything else. I will come back to who genuinely benefits from the router approach, because that group is real, just smaller than the tutorials imply.

With that said, when router-level VPN is the right tool, nothing else covers the same ground. So here is how to do it correctly.

Why put a VPN on the router at all

A VPN app protects one device. A VPN on the router protects the network, which means the encryption and the exit IP apply to everything that connects through it, whether or not that device can run software.

Three situations make this worth the effort:

That is the whole case. If none of those describe you, skip to the honest verdict at the bottom, because the per-device app is your answer.

Step 1: Check whether your router can actually do this

This is where most attempts die, so check before you buy anything or reflash anything. Routers fall into three buckets.

Native VPN client support. Some routers ship with a built-in VPN client out of the box. Note the word client. Nearly every router advertises a VPN server (for connecting into your home from outside), which is a completely different feature and does not route your outbound traffic through a provider. What you want is client mode. Asus routers running the stock firmware (Asuswrt, and especially the Merlin community build) have the best native client support in the consumer space. GL.iNet's small travel routers are built around this and are the least painful option overall. A handful of others qualify.

Flashable to custom firmware. If your router is on the compatible-hardware list for DD-WRT, Tomato, or OpenWRT, you can replace the stock firmware and gain a VPN client that way. The OpenWRT Table of Hardware is the reference I trust for checking model compatibility. Flashing carries real risk: a bad flash can brick the router, and doing it wrong voids warranties. Only go here if you are comfortable with that and your exact model and hardware revision is listed as supported.

Neither. Plenty of ISP-supplied gateways and locked-down consumer routers support no VPN client and cannot be flashed. If that is you, do not fight it. Buy a router that supports this out of the box.

If you would rather not flash anything, a pre-flashed VPN-ready router is the low-stress path. Sellers ship these with DD-WRT or a comparable build already installed and, in many cases, pre-configured for a specific provider. You can find VPN-ready flashed routers on Amazon. Confirm the CPU is reasonably modern before you buy, because on this hardware the processor is what sets your ceiling.

Step 2: Pick a VPN that supports router setup

Not every provider makes this easy. You want one that publishes router-ready config files (OpenVPN `.ovpn` files and WireGuard configs), maintains real setup documentation for the major firmwares, and does not require a proprietary app that a router cannot run.

I run NordVPN for this because it publishes manual OpenVPN and WireGuard-style (NordLynx) configs, keeps current router guides for the common firmwares, and offers a large enough server list that you can pick a low-latency exit. If you are weighing it against the big all-in-one suites, I compared them in my NordVPN vs Norton 360 writeup. Whatever you choose, the requirement is the same: downloadable config files and a router client that can import them.

Step 3: Choose your protocol (OpenVPN vs WireGuard)

This choice affects your speed more than almost anything else you do here.

FactorOpenVPNWireGuard
Firmware supportUniversal (DD-WRT, Tomato, OpenWRT, native)Newer; OpenWRT and current Asus/GL.iNet, spotty on old DD-WRT builds
Router CPU loadHeavyMuch lighter
Real-world speed on consumer hardwareOften 20-60 Mbps ceiling on modest CPUsFrequently 2-4x faster on the same hardware
Maturity / auditingTwo decades of scrutinyNewer but heavily reviewed, now the default for good reason

The short version: use WireGuard if your router and provider support it. On a typical consumer router CPU, OpenVPN's encryption overhead is the single biggest reason people get disappointing speeds. WireGuard is dramatically lighter on the processor and will usually give you a much higher usable throughput. Fall back to OpenVPN only when your firmware cannot do WireGuard.

Step 4: The actual setup

Exact menu names vary by firmware, but the sequence is the same everywhere.

  1. Download the config from your provider. Log into your VPN account's manual-setup or router area and grab the config file for a server near you (WireGuard config or `.ovpn`), plus your service credentials or key.
  2. Log into the router admin panel. Usually `192.168.1.1` or `192.168.0.1` in a browser. Find the VPN section, specifically the VPN Client (not Server) tab.
  3. Create a new client profile and import the config. Upload the file or paste the config. Enter credentials or the WireGuard key where prompted.
  4. Set the connection to auto-start so it reconnects on reboot and after a power blip.
  5. Enable the kill switch / block-if-down option if the firmware has it. This stops traffic from falling back to your raw ISP connection when the tunnel drops. On DD-WRT and OpenWRT this often means adding a firewall rule; on Asus/GL.iNet it is usually a toggle.
  6. Apply and connect. The panel should show a connected state and the VPN server's IP.

One real-world aside: the first time I did this on a DD-WRT box years ago, everything looked connected but nothing routed, and the culprit was a policy-based routing setting that was silently sending LAN traffic around the tunnel. If your status says connected but your IP has not changed, that routing rule is the first place to look.

Step 5: Split tunneling (route only what you want)

You do not have to send every device through the VPN. Split tunneling, sometimes called policy-based routing, lets you decide what goes through the tunnel and what uses your normal connection.

This matters more on a router than on a single device, because a whole-house tunnel means your work laptop, your banking, and your latency-sensitive gaming all inherit the speed hit and the shared exit IP. Common setups: route the smart TV and consoles through the VPN for geo-flexibility while leaving laptops on the raw connection, or the reverse. On Asus/Merlin and GL.iNet this is a per-device or per-IP list in the GUI. On OpenWRT and DD-WRT it is firewall/routing rules, which is more manual but very flexible.

If you are still deciding whether any of this is worth it for your situation, my do I actually need a VPN piece is the honest gut-check.

Step 6: Verify it actually works (do not skip this)

A connected status light is not proof. Two checks:

Check the exit IP. From a device behind the router, visit any "what is my IP" page. It should show the VPN server's location, not your home city. If it shows your real location, traffic is not routing through the tunnel; revisit the routing rules from Step 4.

Run a DNS leak test. This is the one people skip and it is the one that matters most. Your tunnel can carry your traffic while your DNS queries still go to your ISP, which quietly leaks the sites you visit and your real region. Use a reputable checker like dnsleaktest.com, run the extended test, and confirm every DNS server listed belongs to your VPN provider and not your ISP. If your ISP's resolver shows up, set your provider's DNS servers in the router's WAN/DNS settings and force clients to use them, then retest.

Only after both checks pass is the setup actually doing its job.

The speed tradeoff, stated plainly

Here is the number nobody wants to lead with: your router's CPU, not your internet plan, sets your VPN ceiling. A modest consumer router running OpenVPN might cap you around 20-50 Mbps regardless of the gigabit line feeding it. WireGuard on the same box does much better, often multiples faster, but you are still leaving speed on the table compared to a native app on a modern phone or laptop, which has a far stronger processor doing the encryption.

If your plan is 100 Mbps and your router tops out at 40 through the tunnel, that is the deal you are accepting for whole-home coverage. Buy a router with a stronger CPU and the ceiling rises. There is no configuration trick that beats raw processor headroom here.

Honest verdict: who should actually do this

Set up a VPN on your router if you need to cover devices that cannot run an app (TVs, consoles, IoT), you want genuine whole-home coverage, or you are past your plan's device limit. In those cases it is the right and sometimes only tool, and WireGuard on a decent-CPU router makes the speed cost tolerable.

Skip it if your real need is protecting a laptop and a phone. A per-device app is faster, simpler to fix when something breaks, and lets you keep full speed on the devices that do not need protecting. There is no prize for doing this the hard way. I run per-device apps on my personal machines and reserve the router tunnel for the living-room devices that have no other option. If you want a VPN that supports the router path cleanly when you do need it, NordVPN's router configs and guides are the least painful I have used. And if antivirus is the actual problem you are trying to solve rather than network privacy, that is a separate decision I cover in best antivirus 2026.

Match the tool to the need. For most people that is an app. For the whole-home and no-app-possible cases, the router is where you belong.


Setting this up on a specific router or firmware and hitting a wall? Tell me the model and I will point you at the right path. Reach me at ryan@247plan.net.