FRITZ!Box 7340 Service - Knowledge Base
Using the Shrew Soft VPN Client to set up a VPN connection to the FRITZ!Box
The Shrew Soft VPN Client software allows you to establish a secure VPN (Virtual Private Network) connection over the internet from a Windows computer to your FRITZ!Box and then access all of the devices and services in the home network of your FRITZ!Box.
The standard edition of the Shrew Soft VPN Client is available as a free download for Windows 8 / 7 (64-bit and 32-bit) as well as for Linux and BSD. The VPN Client does not officially support Windows 10. However, according to our experience, the VPN Client can also be used in Windows 10.
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 you set up your connection, replace the values used in this example with actual ones.
- MyFRITZ! domain name of the FRITZ!Box:
- User name of the FRITZ!Box user:
- Password of the FRITZ!Box user:
- Shared secret of the FRITZ!Box user:
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.
Important:The FRITZ!Box is not accessible from the internet over IPv4 when used on a DS-Lite ("Dual-Stack Lite") connection. When DS-Lite is active, the status "IPv4 over DS Lite" is displayed under "Connections" on the "Overview" page of the FRITZ!Box user interface.
Note:The configuration procedure and notes on functions given in this guide refer to the latest FRITZ!OS for your FRITZ!Box.
Setting up MyFRITZ!
With MyFRITZ! you can even access your FRITZ!Box over the internet at all times if the FRITZ!Box receives a different public IP address from your internet service provider on a regular basis:
Note:If you already use a different dynamic DNS service, you can also use this service instead of MyFRITZ!.
Adjusting the FRITZ!Box's IP network
Both ends of a VPN connection must have IP addresses from different IP networks. VPN communication cannot occur if your computer is connected to a router (for example another FRITZ!Box) with the same IP network as your FRITZ!Box.
Note:All FRITZ!Boxes use the IP network 192.168.178.0 in the factory settings.
Assign an IP address to your FRITZ!Box that is not the same as the IP addresses of the routers you will 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 the "IPv4 Addresses" button. If the button is not displayed, enable the Advanced View first.
- Enter the desired IP address and subnet mask.
- Click "OK" to save the settings.
2 Setting up a VPN connection in the FRITZ!Box
In the FRITZ!Box, set up a different user for each VPN connection.
- 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. If you have not set up any users yet:
- Click the "Add User" button.
- Enter a name and password of your choice for the user in the corresponding fields.
- Enable the option "VPN".
- Click "OK" to save the settings.
Now the FRITZ!Box sets up the VPN rights for this FRITZ!Box user.
A window displaying the VPN settings for the FRITZ!Box user then opens automatically.
Note:You can call up the window any time by clicking "Show VPN Settings" in the settings for the FRITZ!Box user.
3 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:
Note:You can access the VPN settings if you select "System > FRITZ!Box Users" in the user interface, call up the settings for the user, and click "Show VPN Settings".
- 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! domain name 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 user name 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 internet 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 internet 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.
- 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, then click "OK".
- Click "Save" to save the settings.
Now the VPN connection to the FRITZ!Box has been configured.
4 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 user name and password of the FRITZ!Box user you set the VPN connection up for and click "Connect".
Now the VPN connection is established.
Note:Active VPN connections are displayed under "Internet > Permit Access > VPN" and "Internet > Online Monitor" in the FRITZ!Box user interface.