How to set up WireGuard on FRITZ!Box

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

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.

In order to proceed, you will need an active Surfshark subscription. You can see the available plans on our pricing page. 

Here are the steps that we will go through:


Get your key pair

There are two ways we can go from here - either you already have generated a key pair and you'll be able to use it, or we will have to generate one. If you do have a key pair already, continue the tutorial as usual, and if you do not have one, click here.

I have a key pair

  1. Go to this page, choose the Router option and click on WireGuard.

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

  3. Enter your public key and hit Save.


I don't have a key pair

  1. Go to this page, choose the Router option and click on WireGuard.

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

  3. Click on Generate a new key pair.

    Note: once the key pairs are generated, copy them and store them on your device, as you will not be able to check them again.


Choose a server

Once you have your key pair, you'll be able to see a Choose a location button - once you click on it, you'll be greeted with the full 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. To log in, open a browser of your liking, and enter this address into the address bar:

    You can also simply enter the Gateway IP address of the router into a browser of your choice. Simply paste this IP into the URL bar:

    If that does not work, you can always use the emergency IP to access the FRITZ!Box.

  2. If you haven’t done so before, you will have to set up your MyFRITZ! address.

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

    Click the "VPN (WireGuard)" tab.

    Click the "Add Connection" button.

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

    By "Has this WireGuard connection already been set up at the remote connection?", click "Yes".

    Click on "Next".

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

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

    Select the settings file for the WireGuard connection that you downloaded from the VPN provider and click "Open". After, e
    nable the option "Send all network traffic via the VPN connection".

    (Optional)  If only certain devices should be able to access the internet via the VPN provider, enable the option "Only certain devices in the home network are to be accessible over this WireGuard connection" and select the corresponding devices.

    Click the "Finish" button.

    Lastly, if asked to do so, on the FRITZ!Box confirm that the procedure may be executed and click "OK
    " to complete the procedure.



Make sure the connection is successful


And that is it - you’ve learned how to set up a WireGuard connection on your FRITZ!Box router. It's always recommended to check whether your connection was successful after setting up a VPN for the first time. This can be easily done by doing an IP leak test and a DNS leak test which is available on our website

You may also be interested in:

  1. How to set up a router with Surfshark?
  2. How to set up VPN on my Smart TV or console? 
  3. How to set up a VPN-protected Wi-Fi hotspot using Windows?


Was this article helpful?
Thank you for your feedback!