Skip to main content

How to set up WireGuard® on Keenetic router

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

To set up WireGuard® on Keenetic, you first need an active Surfshark subscription. You can find the available plans on Surfshark's pricing page.


NOTE: WireGuard VPN support is implemented for current generation Keenetic devices, starting from KeeneticOS version 3.3. 

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 under VPN
  2. Select set up manually.

    Manual setup page with Set up manually highlighted

  3. Choose the WireGuard protocol.

    Choose a protocol with WireGuard highlighted

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

    WireGuard Connect key pair with I don't have a key pair highlighted

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

    WireGuard key pair name field showing Test and Next

  6. Click generate new key pair.

    WireGuard credentials 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.

    WireGuard credentials showing generated keys and 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 highlighted
     
  2. Click on the download icon to the right of the server name.

    WireGuard Locations with Fastest server download highlighted

  3. Click on the download icon.

    Download configuration files for Belgium Brussels with Download highlighted

 

Configure the interface

  1. Log in to your Keenetic router's interface. Open a browser and enter this address into the URL bar: my.keenetic.net

    Alternatively, enter the Gateway IP address into the URL bar. By default, it is 192.168.1.1
    Browser address bar showing 192.168.1.1

    Keenetic Web Interface Login with username and password

  2. Proceed to log in to your router.

    Default username: admin
    Default password:
    1234

  3. Navigate to System Settings > Component options
    Keenetic General system settings with System settings and Component options highlighted Component options">

  4. Type in WireGuard in the search bar, check the box next to WireGuard VPN, and click Install the update button.
    System component options with WireGuard VPN checked and Install the update highlighted

  5. In the pop-up that comes up, click ‘Confirm’ to continue with the installation. After it is done, reboot the router.
    Components will be installed dialog with Confirm highlighted

  6. Once rebooted, open up the router interface again and select the Other connections menu. Click the Import from a file button (refer to Choose a Surfshark server section in this article).
    Other connections page with Import from a file highlighted

  7. Click on the added connection (not on the switch).
    Other connections showing a Surfshark WireGuard connection turned off

  8. Once there, check the box Use for accessing the Internet. If the listen port is not inserted, input 51820.

  9. After you are done, make sure to click the Save button.
    Connection settings with Use for accessing the Internet unchecked and Listen port 51820 highlighted

  10. Click on the Connect switch.
    Other connections showing a Surfshark WireGuard connection turned on

  11. Open the Connection priorities menu, move the added VPN connection to the top so that it is the first, and click Save.Connection priorities with WireGuard above Ethernet and Save highlighted

 

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!