How to set up WireGuard® on FRITZ!Box

In this guide, you will learn how to set up a WireGuard® connection on your FRITZ!Box router.

To proceed, 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 FRITZ!Box devices, starting from FRITZ!OS version 7.39 or higher. You can check your router's firmware by going to FRITZ!Box official website, or by navigating to the Dashboard section on your router's web interface.

We will cover the following steps:

  1. Get your key pair
  2. I have a key pair
  3. I don't have a key pair
  4. Choose a Surfshark server
  5. Configure the interface
  6. Ensure the connection is successful

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

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.


Configure the interface


  1. Log in to your FRITZ!Box router’s interface. You can access it by entering your router's default gateway IP address into your browser's URL bar. By default, it is usually If that does not work, use the emergency IP

    Alternatively, you can enter this address:

  2. If you haven’t done so before, you will have to set up your MyFRITZ! address. Follow these steps:
    1) Click Internet in the FRITZ!Box user interface.
    2) Click on MyFRITZ! Account in the Internet menu.
    3) Enter your email address in the Your email address field.
    4) Click Apply. Now MyFRITZ! will send you an email with the confirmation link to confirm your FRITZ!Box account.
    5) Open the email you received from MyFRITZ!
    6) Click the Register Your FRITZ!Box button in the email.

  3. Now, we will configure Surfshark’s WireGuard VPN tunnel. To do so, in the router's web panel, in the Internet section, click on Permit Access.

  4. Click the VPN (WireGuard) tab.

  5. Click the Add Connection button.

  6. Click "User-defined setup" and then "Next".

  7. You will get a prompt: Has this WireGuard connection already been set up at the remote connection? Click Yes.

  8. Click on Next.

  9. Enter a name for the connection in the Name of the WireGuard connection field (for example, Surfshark).

  10. Click the Choose File or Browse... button.

  11. Select the settings file for the WireGuard connection that you downloaded from Surfshark and click Open. After, enable the option Send all network traffic via the VPN connection.

    NOTE: If only certain devices should be able to access the internet via Surfshark VPN, enable the option Only certain devices in the home network are to be accessible over this WireGuard connection and select the corresponding devices.

  12. Click the Finish button.

  13. If asked to do so, confirm that the procedure may be executed and click OK to complete it.


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!