How to Set Up a VPN on Your Router

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.

How We Evaluate VPNs

Every recommendation in our VPN guides is weighed against the same five criteria:

  • No-logs policy and audits - We prioritise providers whose no-logs claims have been verified by independent auditing firms, and we note real-world events (subpoenas, server seizures) that tested those claims.
  • Leak-test results - A VPN must not expose your real IP, DNS servers, or WebRTC addresses. You can run the same checks we use with our free VPN Leak Test.
  • Speed impact - We favour providers supporting modern protocols (WireGuard, or equivalents like NordLynx and Lightway) that keep overhead low.
  • Jurisdiction - Where a provider is incorporated determines which governments can compel it to hand over data.
  • Price transparency - Clear renewal pricing and honest refund terms. We avoid quoting specific prices in guides because promotions change frequently - Always check current pricing on the provider's site.

Our assessments are based on published third-party audits, vendor documentation, and our own leak-testing tooling - We do not have insider access to any provider's infrastructure. These pages are reviewed periodically and updated when audits, ownership, or features change.

Once you have picked a provider, two practical checks matter more than any review: if your connection fails, see how to fix a VPN that won't connect; and to confirm you are actually protected, learn how to test if your VPN is working.

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: June 2026