Baza wiedzy
AVM Content
Using the Shrew Soft VPN Client to set up an IPSec VPN to the FRITZ!Box
With IPSec and the Shrew Soft VPN Client software you can establish VPN connections to the FRITZ!Box on your computer. This way you can access your FRITZ!Box and all devices in your home network with your computer over a securely encrypted connection, even when you are away from home.
The standard edition of the Shrew Soft VPN Client is available as a free download for Windows 8 / 7 as well as for Linux and BSD. We recommend using WireGuard with computers with current operating systems.
You can find an overview of additional VPN connection options in our guide VPN with FRITZ!.
Example values used in this guide
In this guide we show you how to connect a computer with Shrew Soft VPN Client 2.2.2 with the FRITZ!Box. When setting up the connection, replace the values used in this example with your actual values.
Requirements / Restrictions
- Shrew Soft VPN Client 2.2.2 is installed on the computer.
- The FRITZ!Box must obtain a public IPv4 address from the internet service provider.
1 Preparations
Configuring MyFRITZ!
Register the FRITZ!Box with MyFRITZ! so that it can be reached on the internet at any time at a fixed MyFRITZ! address:
- Click "Internet" in the FRITZ!Box user interface.
- Click on "MyFRITZ! Account" in the "Internet" menu.
- Enter your email address in the "Your email address" field.
- Click "Apply". Now MyFRITZ! sends you an email with the confirmation link to your FRITZ!Box.
Important:If you do not receive an email, the email was classified as unsolicited advertising (spam). In this case, check the spam folder of your email inbox.
- Open the email you received from MyFRITZ!.
- Click the "Register Your FRITZ!Box" button in the email.
Adjusting the FRITZ!Box's IP network
Both ends of the VPN connection must have IP addresses in different IP networks. As soon as the computer is connected to a router (for example another FRITZ!Box) that uses the same IP network as your FRITZ!Box, VPN communication is no longer possible.
Note:All FRITZ!Boxes use the IP network 192.168.178.0 in the factory settings.
Set up an IP address to your FRITZ!Box that differs from the IP addresses of the routers you use to connect to the FRITZ!Box, for example 192.168.10.1 (subnet mask 255.255.255.0):
- Click "Home Network" in the FRITZ!Box user interface.
- Click "Network" in the "Home Network" menu.
- Click on the "Network Settings" tab.
- Click "Additional Settings" in the section "LAN Settings" to display all of the settings.
- Click the "IPv4 Settings" button.
- Enter the desired IP address and subnet mask.
Important:Do not enter an IP address from the network 192.168.100.x. In compliance with DOCSIS, this network is reserved for the cable provider and may not be used in the FRITZ!Box.
- Click "Apply" to save the settings and on the FRITZ!Box, confirm that the procedure may be executed, if you are asked to do so.
2 Setting up a VPN connection in the FRITZ!Box
Set up a separate user for each VPN connection in the FRITZ!Box:
- Click "System" in the FRITZ!Box user interface.
- Click "FRITZ!Box Users" in the "System" menu.
- Click the (Edit) button for the user who intends to connect to the FRITZ!Box via VPN or set up a new user for the VPN connection:
- Click the "Add User" button.
- Enter a name and password for the user in the corresponding fields.
- Enable the option "VPN".
- Click "Apply" to save the settings and on the FRITZ!Box, confirm that the procedure may be executed, if you are asked to do so.
3 Opening the VPN settings
- Click "Internet" in the FRITZ!Box user interface.
- Click on "Permit Access" in the "Internet" menu.
- Click the "VPN (IPSec)" tab.
- Click the "VPN Settings" link for the user who intends to connect to the FRITZ!Box via VPN.
- If you are asked to do so, on the FRITZ!Box confirm that the procedure may be executed and click "OK" to complete the procedure.
4 Setting up a VPN connection in the Shrew Soft VPN Client
Set up the VPN connection in the Shrew Soft VPN Client using the VPN settings displayed in the FRITZ!Box user interface for the FRITZ!Box user:
- Start the Shrew Soft VPN Access Manager and click the "Add" button.
- The "VPN Site Configuration" window opens.
- On the "General" tab, enter the MyFRITZ! address of the FRITZ!Box (pi80ewgfi72d2os42.myfritz.net) in the "Host Name or IP Address" field.
- Configure the following settings on the "Authentication" tab:
- Select "Mutual PSK + XAuth" from the drop-down list "Authentication Method".
- On the "Local Identity" tab, select "Key Identifier" from the drop-down list "Identification Type" and enter the username of the FRITZ!Box user (John Smith) in the "Key String ID" field.
- On the "Remote Identity" tab, select "IP Address" from the drop-down list "Identification Type".
- On the "Credentials" tab, enter the "shared secret" of the FRITZ!Box user (Zj7hPCouK65IrPU4) in the field "Pre Shared Key". The "shared secret" is displayed in the VPN settings of the user in the section "iPhone, iPad or iPod touch".
- If the entire data traffic - requests from the remote FRITZ!Box network as well as all web requests - should be forwarded over the VPN connection, click "Save" to save the settings. The configuration is now completed.
- If only requests to the remote FRITZ!Box network should be forwarded over the VPN connection and the local internet connection should still be used for web requests, configure the following settings:
- Click on the "Name Resolution" tab.
- Disable the option "Enable DNS" on the "DNS" tab.
- Disable the option "Enable WINS" on the "WINS" tab.
- Click on the "Policy" tab.
- Select "shared" from the drop-down list "Policy Generation Level".
- Disable the option "Obtain Topology Automatically or Tunnel All".
- Click the "Add" button.
- The "Topology Entry" window opens.
- Select "Include" from the drop-down list "Type", enter the IP network of the FRITZ!Box (192.168.10.0) in the "Address" field and the corresponding subnet mask (255.255.255.0) in the "Netmask" field, and then click "OK".
- Click "Save" to save the settings and complete the configuration.
5 Establishing a VPN connection
- Start the Shrew Soft VPN Access Manager.
- Select the VPN connection in the VPN Access Manager and click "Connect".
- In the corresponding fields, enter the username and password for the FRITZ!Box user you set the VPN connection up for.
- Click "Connect" to establish the VPN connection.
Note:Active VPN connections are displayed in the FRITZ!Box user interface under "Overview" in the section "Connections".