Get 1,000+ Free Secret Apps on Firestick & Android TV/Google TV

TV Channels

How to Install Wireguard on a Router

Wireguard on Router

This guide will show you how to install Wireguard on a router.

Running a VPN on your router allows you to protect all of your devices on the network or only selected ones through Policy Based Routing.  You don’t need to worry about installing any VPN applications because the router is doing all of the work.  This also works great when you want to protect gaming systems, or streaming devices that aren’t capable of running a VPN app.

The biggest drawback of running a VPN on a router is the speed loss that you incur when doing so.

Thankfully, we can now use the popular Wireguard VPN protocol that is lightweight which allows for fast download/upload speeds.

In the past, the best download speeds I could get on this same router with OpenVPN was 40-50 Mbps.  With Wireguard through StrongVPN, you will see that I’m getting over 200 Mbps!

Wireguard on Router Speeds

WireGuard is a new open-source VPN protocol that uses state-of-the-art cryptography and aims to outperform the existing VPN protocols like IPsec and OpenVPN.

Unfortunately, not many VPN services support Wireguard on routers but StrongVPN does!

They even take it a step further and provide a setup script that makes installing Wireguard a snap.  Other VPN services need to take note of this setup script and hopefully others will adopt this idea as well.

StrongVPN Wireguard Setup Script
StrongVPN Wireguard on Router Setup Script

StrongVPN is listed in the Top 5 TROYPOINT VPN Service Rankings and you can find our in-depth review linked below.

StrongVPN Unbiased Review

Below you will find both a video tutorial and screenshot guide that will show you how to install Wireguard on Router.

The screenshot guide is meant to provide general directions.

The video goes into important details not available in the screenshot guide.

How to Install Wireguard on Router

Here is Troy’s video tutorial that will walk you through every step for installing Wireguard on a router.

Video Tutorial

Important Links

Get StrongVPN with Big Discount

How to Install DD-WRT on Router

Netgear Nighthawk R7000 Router

Screenshot Guide

These are general directions taken from the detailed video tutorial above.  We suggest first watching the video for important details not found in the guide below.

1  Install DD-WRT on compatible router.

Click Here for DD-WRT on Router Tutorial

DD-WRT Setup Guide

2 Log into DD-WRT via browser with

Wireguard on Router DD-WRT Login


3 Go to Wireless / Basic Settings and rename the 2.4 GHz and 5 GHz Wifi channels.

Setup WiFi Channels

4 Set passwords for WiFi channels.

Set Wireguard WiFi passwords

5 Go to Security / Firewall and Disable SPI Firewall.

Disable SPI Firewall

6 Go to Setup / Basic and input the following DNS addresses.

Wireguard on Router DNS Settings

7 On the same page, set Time Zone to your location and input

Input Wireguard time settings in router

8 Go to and login with your StrongVPN credentials.

Click Here to Get StrongVPN with Discount

Wireguard on Router configuration generator

9 Click the router image.

Click router image

10 Choose the VPN server you want to connect to.

Choose Wireguard on Router VPN server

11 Click Exclude LAN so network apps and locations will work on network.

Exclude LAN traffic

12 Click Generate button.

Click Generate button

13 Copy Wireguard on Router script to clipboard.

Copy Wireguard on Router installer script

14 Go back to DD-WRT Admin and click Administration / Commands, paste script and click Save Custom.

Click Save custom

15 Click Edit button.

Click Edit button for Config File

16 Delete last line from Commands about sleep and reboot then click Save Custom again.

Delete last line about sleep

17 In commands box type in sh /tmp/.rc_custom and click Run Command.

If you’re using older version of DD-WRT (before rev 43381) use this command instead sh /tmp/

You can see version in top right corner of DD-WRT.

Wireguard on Router DD-WRT version in top right corner

18 After running command you will see success message.

You will see success message

19 If Wireguard router doesn’t reboot go to Administration / Management.

Go to adin/management to reboot

20 Click Reboot Router.

Click Reboot Router

21 When router reboots, click Continue button.

Click Continue to enter Wireguard on Router dashboard

22 Go to Setup / Tunnels for Wireguard on Router options.

Go to Setup/Tunnels

23 Policy Based Routing allows you to activate VPN only for specific devices defined by their unique local IP address.

Use policy based routing

24 Kill Switch will terminate Internet connection if VPN is deactivated or loses connection for any reason.

Wireguard on Router killswitch

Bonus Segment

Within the setup video above, you will find a bonus segment where I show how to use a dedicated Wireguard Router in tandem with your existing router.

We plan on creating additional tutorials such as this with other 3rd party router firmware such as OpenWRT, Asus Merlin, Sabai, Tomato, and Mikrotik.

This page includes affiliate links where TROYPOINT may receive a commission at no extra cost to you. Many times, visitors will receive a discount due to the special arrangements made for our fans. Learn more on my Affiliate Disclaimer page.

Start the discussion at

Historical Comment Archive

14 thoughts on “How to Install Wireguard on a Router”

  1. So I read up on this and I’m trying to figure out what the difference is between IPVanish and strong vpn, they both offer Wireguard through the services they both use dd-wrt on routers, price point is different. Can someone elaborate on this for me please, thank you.

  2. I now use ip vanish I would like to put this on a second router. We use the program Sling and it will not work if it sees a vpn will this bypass their system?

  3. Whilst there are certainly benefits of a VPN on a router, I so often have to turn off my VPN briefly, or change server, to access sites that reject my VPN. Particularly troublesome are those email services that also ‘sometimes’ reject access because this then involves re-establishing my credentials and worse, forcing a password change. All because I need to consolidate multiple email services with an email client (i.e. not a browser).
    For these reasons I prefer to keep the VPN device specific as it is easier to control; and it’s on the laptop when I travel. And with others in the household having the same issues….. ‘Just thought these problems were worth a mention
    Thanks for the great guide though!

  4. I use an EERO WFi 6 systems as the router for my gigbit connection. Can this router be setup to use the StrongVPN router connection?

    1. Hi Bill, yes Wireguard is available for most of their apps but I see no instructions from them for installing it on a router.

  5. Did not know there was a charge for this VPN.
    However, I am currently using Surf Shark per your recommendation. I have used many of your recommendations since 2014.
    So, Thank You everyone
    for all you do in cord cutting.
    Curtis Wardwell

  6. As a long time user of DD-WRT with VPN client. I think it needs said that many routers are not suitable. Also, DD-WRT is always in a constant state of Beta testing and the risk of bricking your router is a concern.

  7. Can you control which apps use the VPN? For example: I use my firestick to stream a couple of apps that don’t work with a VPN connected ( xfinity stream…)


    1. I use policy based routing to control which devices (static IP addresses) use the vpn and which do not. This eliminates the need for two routers with my setup. However, doing it app by app is something I’ve never tried and would think it won’t work, at least with any ease.
      Maybe someone with more experience will chime in.

Leave a Comment

Your email address will not be published. Required fields are marked *

Save 86% on Surfshark VPN + 3 Free Months