How to set up a manual WireGuard® connection on a router

In this article, you will learn how to set up a manual WireGuard® connection on your router.

To start, you first need an active Surfshark subscription. You can find the available plans on Surfshark's pricing page.

 

Here are the steps we will go through:

 

Check if your router is compatible

 

First, you need to ensure that your router supports a WireGuard manual connection method. We all have different routers in our homes, which means that you will have to research to find out whether your router is compatible with WireGuard®.

Enter your router's make and model into any search engine and try to find out whether it supports a WireGuard® VPN client.

NOTE: Our research shows WireGuard best works with GL.iNet, OpenWRT, or DD-WRT router firmware.

 

Get your key pair


There are two ways we can go from here. You might have generated a key pair, and you'll be able to use it. Or, we will have to generate one.

If you have a key pair already, continue the tutorial as usual. If you do not, you should move on to the I don’t have a key pair section.

I have a key pair

  1. Go to Surfshark's login page and log in. Then, visit VPN > Manual setup. Choose the Router option and click on WireGuard.


  2. In the next window, click on I have a key pair.


  3. Name your key pair and click Next.

  4. Enter your public key and hit Save.


I don't have a key pair

  1. Go to Surfshark's login page and log in. Then, visit VPN > Manual setup. Choose the Router option and click on WireGuard.


  2. In the next window, click on I don't have a key pair.


  3. Name your new key pair.

  4. Click on Generate a new key pair.

    NOTE: Copy and store the generated key pairs on your device. You will not be able to check them here again.

 

Choose a Surfshark server

NOTE: If you don’t generate the key pair before downloading the configuration file, the file will be missing your key pair. Then, you will need to generate a key separately and input it manually into missing fields.

Once you have your key pair, you should see a Choose a location button. Click on it. Here, you'll find the list of available locations to connect to. Select one and hit the download button.

 

Connect to the VPN

 

Copy the Server IP address and your public key, and connect.

 

Ensure the connection is successful

 

We always recommend checking if Surfshark VPN is working after setting it up for the first time. You can easily do it by performing Surfshark IP leak test and a DNS leak test. For your convenience, both are available on our website.

 


You may also be interested in:

Was this article helpful?
Thank you for your feedback!