FRITZ!Box 7430 Service - Knowledge Base
AVM Content
- FRITZ!Box 7590
- FRITZ!Box 7583 VDSL
- FRITZ!Box 7583
- FRITZ!Box 7582
- FRITZ!Box 7581
- FRITZ!Box 7560
- FRITZ!Box 7530 AX
- FRITZ!Box 7530
- FRITZ!Box 7490
- FRITZ!Box 7390
- FRITZ!Box 7369
- FRITZ!Box 7360
- FRITZ!Box 7340
- FRITZ!Box 7330
- FRITZ!Box 7272
- FRITZ!Box 6890 LTE
- FRITZ!Box 6850 LTE
Setting up a VPN connection between two FRITZ!Box networks
You can use VPN (Virtual Private Network) to establish a tap- and tamper-proof connection over the internet between two FRITZ!Box networks at different locations. This allows you to access all of the devices in the remote network and use all of the IP-based services such as email servers, data banks, and file servers at both locations.
Important:If you only want to connect a home office or a POS system with a central office, then you can restrict the VPN connection to individual LAN ports on the FRITZ!Boxes. Devices connected to the LAN ports you selected cannot access other devices in the network of the local FRITZ!Box or use the local FRITZ!Box's internet connection.
Example values used in this guide
In this guide we show you how to connect the FRITZ!Box networks "FRITZ!Box A" and "FRITZ!Box B" with each other. When you set up the connection, replace the values used in this example with your actual values.
- MyFRITZ! domain name of FRITZ!Box A:
pi80ewgfi72d2os42.myfritz.net - IP network of FRITZ!Box A:
192.168.10.0 (subnet mask: 255.255.255.0) - MyFRITZ! domain name of FRITZ!Box B:
kw23qbmnj31x5aw75.myfritz.net - IP network of FRITZ!Box B:
192.168.20.0 (subnet mask: 255.255.255.0) - VPN password (pre-shared key):
secret1234
Requirements / Restrictions
- At least one of the two FRITZ!Boxes must obtain a public IPv4 address from the internet service provider.
- FRITZ!OS 6.20 or later is installed on FRITZ!Box B.
Note:All instructions on configuration and settings given in this guide refer to the latest FRITZ!OS for the FRITZ!Box.
1 Preparations
Setting up a MyFRITZ! account and determining the domain name
With MyFRITZ! you can access the FRITZ!Boxes over the internet at all times even if the FRITZ!Boxes receive different public IP addresses from your internet service provider at regular intervals:
- Set up a MyFRITZ! account in both of the FRITZ!Boxes.
Note:You can either configure the same or different MyFRITZ! accounts in both of the FRITZ!Boxes. Even if both FRITZ!Boxes use the same MyFRITZ! account, each FRITZ!Box has its own unique MyFRITZ! domain name.
- Determine the MyFRITZ! domain names of both of the FRITZ!Boxes.
Adjusting the IP networks
Communication within the VPN is not possible if both FRITZ!Boxes use the same IP network. Since all FRITZ!Boxes use the IP network 192.168.178.0 in the factory settings, configure IP addresses from different IP networks in the FRITZ!Boxes:
Example:
In this guide, FRITZ!Box A has the IP address 192.168.10.1 (subnet mask 255.255.255.0) and FRITZ!Box B the IP address 192.168.20.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 "Guest Access" to display all of the settings.
- Click the "IPv4 Configuration" button.
- Enter the desired IP address and subnet mask.
- Click "OK" to save the settings and on the FRITZ!Box, confirm that the procedure may be executed if asked to do so.
2 Configuring FRITZ!Box A
- Click "Internet" in the user interface of FRITZ!Box A.
- Click "Permit Access" in the "Internet" menu.
- Click on the "VPN" tab.
- Click the "Add VPN Connection" button.
- Click "Connect your home network with another FRITZ!Box network (LAN-LAN linkup)" and then "Next".
- In the field "VPN password (pre-shared key)", enter the password required to establish the VPN connection (secret1234). Use numerals and letters, and combine capitals and lower-case letters.
- Enter a unique name for the connection (FRITZ!Box London) in the field "Name of the VPN connection".
- Enter the MyFRITZ! domain name of FRITZ!Box B (kw23qbmnj31x5aw75.myfritz.net) in the field "Web address of the remote site".
- Enter the IP network of FRITZ!Box B (192.168.20.0) in the "Remote network" field.
- In the "Subnet mask" field, enter the subnet mask that corresponds to FRITZ!Box B's IP network (255.255.255.0).
- Enable the option "Hold VPN connection permanently" if FRITZ!Box B has a public IPv4 address and you want to maintain the VPN connection all the time.
- Click "Advanced Settings for Network Traffic".
- If you do not only want to use the VPN connection to access the remote network, but also want all web requests to be sent to the remote FRITZ!Box, enable the option "Send all network traffic via the VPN connection".
- If access to SMB shared files in the remote network should be allowed, enable the option "Allow NetBIOS over this connection".
- If only certain devices should be allowed to access the remote network, enable the option "Only certain devices use the VPN connection" and select the corresponding devices.
- Click "OK" to save the settings and on the FRITZ!Box, confirm that the procedure may be executed if asked to do so. The internet connection will be cleared briefly and then re-established right away.
3 Configuring FRITZ!Box B
- Click "Internet" in the user interface of FRITZ!Box B.
- Click "Permit Access" in the "Internet" menu.
- Click on the "VPN" tab. If the tab is not displayed, enable the Advanced View first.
- Click the "Add VPN Connection" button.
- Click "Connect your home network with another FRITZ!Box network (LAN-LAN linkup)" and then "Next".
- In the field "VPN password (pre-shared key)", enter the password required to establish the VPN connection (secret1234).
- If the field "Name of the VPN connection" is displayed, enter a unique name (FRITZ!Box London) for the connection.
- Enter the MyFRITZ! domain name of FRITZ!Box A (pi80ewgfi72d2os42.myfritz.net) in the field "Web address of the remote site".
- Enter the IP network of FRITZ!Box A (192.168.10.0) in the "Remote network" field.
- In the "Subnet mask" field, enter the subnet mask that corresponds to FRITZ!Box A's IP network (255.255.255.0).
- Enable the option "Hold VPN connection permanently" if FRITZ!Box A has a public IPv4 address and you want to maintain the VPN connection all the time.
- Click "OK" to save the settings and on the FRITZ!Box, confirm that the procedure may be executed if asked to do so. The internet connection will be cleared briefly and then re-established right away.
4 Establishing a VPN connection
If you enabled the option "Hold VPN connection permanently" in the FRITZ!Boxes, the VPN connection will be maintained at all times.
If the option "Hold VPN connection permanently" is not enabled, the VPN connection is automatically established whenever one of the networks accesses the other network and it is cleared again whenever it has been inactive for one hour.
Note:Active VPN connections are displayed in the FRITZ!Box user interface under "Overview" in the section "Connections".
AVM Section Navigation