How to Set Up a VPN on Your Router

Diagram: A router tunnelling the whole household, covering televisions, consoles, and small devices at once — illustrating how to set up vpn on router
A router tunnelling the whole household, covering televisions, consoles, and small devices at once.

Installing a VPN on your router protects every device on your network - Smart TVs, games consoles, IoT devices, and any device that cannot run a VPN app - Without needing to configure each one individually. The trade-off is increased complexity and some performance overhead on the router's CPU.

Why Use a Router VPN?

BenefitDetail
Covers all devicesEvery device connecting to the router is automatically protected - Smart TVs, consoles, printers, IoT sensors
No per-device app neededDevices that cannot run VPN apps (older Rokus, Apple TV older firmware, smart fridges) are still protected
One device slotUses only one of your provider's simultaneous device connections, regardless of how many devices are behind the router
Always-on protectionProtection is active as long as the router is running - No need to remember to connect
Bypasses device-level blocksUseful in environments where VPN apps are blocked on managed devices

Compatible Router Firmware

FirmwareVPN SupportCompatible HardwareDifficulty
DD-WRTOpenVPN, WireGuard (newer builds), PPTPLinksys, Netgear, TP-Link, Asus (many models)Moderate - Requires flashing
Tomato / FreshTomatoOpenVPN, WireGuardAsus, Linksys, Netgear (fewer models than DD-WRT)Moderate - Requires flashing
Asus MerlinOpenVPN, WireGuard, IPSecAsus RT series (native - No flashing to 3rd-party required)Easy - Built on stock Asus firmware
pfSense / OPNsenseOpenVPN, WireGuard, IKEv2Dedicated x86 hardware or Netgate appliancesAdvanced
GL.iNet stock firmwareOpenVPN, WireGuardGL.iNet travel routers (GL-AXT1800, GL-MT3000)Very easy - GUI driven

OpenVPN vs WireGuard on a Router

ProtocolRouter CPU LoadSpeed ImpactSetup ComplexityBest For
WireGuardLow (kernel-level on modern firmware)Minimal (<15% on capable hardware)Low - Simpler config filesModern routers with WireGuard kernel support
OpenVPNHigh (userspace, single-core)Significant on older/ARM routers (50%+ speed loss possible)Moderate - .ovpn files + credentialsMaximum compatibility, censorship bypass (TCP 443)

General Setup Steps (OpenVPN on DD-WRT/Merlin)

  • Log in to your router admin panel (usually 192.168.1.1 or 192.168.0.1).
  • Navigate to the VPN section (on Merlin: Advanced Settings › VPN › VPN Client).
  • Download the OpenVPN .ovpn configuration file from your VPN provider's dashboard.
  • Upload the .ovpn file or paste its contents into the router's VPN client fields.
  • Enter your VPN account username and password.
  • Enable "Redirect Internet traffic" to route all traffic through the VPN.
  • Apply settings and reboot the router.
  • Verify from any connected device using our VPN Leak Test.

Frequently Asked Questions

What is the main advantage of a VPN on the router?

Every device on the network is covered, including ones that cannot run VPN software at all — smart TVs, consoles, and IoT devices. It also means one connection slot covers the whole household.

What are the drawbacks?

You lose per-device control, switching countries means reconfiguring the router, consumer router CPUs often cap throughput well below your line speed, and most router firmware has no kill switch.

Do I need special firmware?

Usually. Stock firmware on most consumer routers has no VPN client. DD-WRT, OpenWrt, AsusWRT-Merlin, or pfSense add it — or you can buy a router with the provider's firmware preinstalled.

Why is my router VPN so much slower than on my laptop?

Router CPUs are weak at the cryptography VPNs require. A router that routes 900 Mbps unencrypted may manage only 100–150 Mbps through OpenVPN; WireGuard support helps considerably where available.

How we evaluate VPNs: every provider on this site is judged on audited no-logs claims, leak-test results, protocol support, jurisdiction, and price transparency — never on commission. Read the full testing methodology →

Affiliate disclosure: Some links to VPN providers in these guides are affiliate links - We may earn a commission at no extra cost to you. This never affects rankings or evaluations.

Last updated: 2026-08-02

Sources & Further Reading

The technical claims on this page are drawn from the primary specifications and vendor documentation below.

  1. NIST SP 800-77 Rev. 1 — Guide to IPsec VPNs NIST
  2. RFC 7296 — Internet Key Exchange Protocol Version 2 (IKEv2) RFC Editor