Skip to main content

How to set up WireGuard® on TP-Link Wireless Router

In this article, we will go through the steps of setting up WireGuard® on a wireless TP-Link router. 

You will need a TP-Link WireGuard® compatible router alongside an active Surfshark subscription, which you can purchase on our pricing page.

Check out this guide if you wish to set up via the TP-Link Deco app instead.

 

Credentials and server selection

Before setting up the router, you will need to obtain the credentials for the manual setup and select a server to connect to.
 

NOTE: These are not your regular credentials, such as your email and password.
 

  1. Head to the Surfshark login page and log in. Then, click on VPN -> manual setup.

    Surfshark dashboard with Manual setup selected
  2. Select set up manually.

    Manual setup page with Set up manually circled

  3. Choose the WireGuard protocol.

    Choose a protocol with WireGuard circled

  4. Once there, select I don't have a key pair.

    WireGuard credentials with I don't have a key pair circled

    NOTE: If you have already created a key pair, simply press I have a key pair, and enter your public key.


  5. Enter a name for the keypair, and click next.

    Key pair name field with Next

  6. Click generate new key pair.

    WireGuard screen with Generate a new key pair

    NOTE: If you have already created a key pair, simply press I have a key pair, and enter your public key.


  7. You will be able to see a public and a private key pair. Make sure to save both of them.

    Generated keys with Choose a location

 

Choose a Surfshark VPN server

  1. Head to the Locations tab and locate the server that you wish to connect to.

    WireGuard Locations tab circled
     
  2. Click on the download icon to the right of the server name.

    Locations list with Fastest server download circled

  3. Click on the download icon.

    Download configuration files with Download circled

Configuring the TP-Link Wireless WireGuard client

  1. Log in to the web-based interface of the router.
  2. Turn to advance, select VPN Client, and enable the option VPN Client:


     
  3. In the server List section below, there is an add option in the upper right corner. Click on it and select set up manually:


     
  4. Select WireGuard, fill in the description, and import the .conf file you obtained from Surfshark:

Ensuring 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.

Was this article helpful?
Thank you for your feedback!