VPN to FRITZ!Box from Linux
Requirements
- Packages: vpnc, network-manager-vpnc und network-manager-vpnc-gnome
- MyFRITZ!-address of the FRITZ!Box:
Example: pi80ewgfi72d2os42.myfritz.net - Username of the FRITZ!Box-User:
Example: Max Mustermann - Password of the FRITZ!Box-User:
Example: geheim1234 - Shared Secret of the FRITZ!Box-User:
Example: Zj7hPCouK65IrPU4
Preparations
Setup MyFRITZ!
Register FRITZ!Box at MyFRITZ! for a fixed MyFRITZ!-address. Guide in German
Adjust the IP-Network of the FRITZ!Box
Setup the IP-Address for conecting with the FRITZ!Box:
- Click on "Heimnetz".
- Click on "Heimnetzübersicht".
- Click on "Netzwerkeinstellungen".
- Click on "IPv4-Adressen". If not visible, you have to activate the extended view.
- Enter the IP-Address.
- Save the settings.
Setup the VPN-Connecttion in the FRITZ!Box
Create an own user for every VPN-Connection:
- Click on "System in the FRITZ!Box.
- Click on "FRITZ!Box-Benutzer".
- Edit the prefered user (or create a new one), and setup the vpn connection:
- Click on "Benutzer hinzufügen".
- Enter the username and the password.
- Activate the option "VPN".
- Save the settings.
Setuo the VPN-Connection on your device
- Start Advanced Network Configuration.
- Click on the plus symbol and select ""Cisco-kompatibler VPN-Client (vpnc)" aus.
- Enter the wanted Name.
- Enter the MyFritz!-Address field(pi80ewgfi72d2os42.myfritz.net) in the "Gateway".
- Enter the FritzBox!-Username and -Password and select the option "Passwort nur für diesen Benutzer speichern". aus und tragen Sie dann das Kennwort des FRITZ!Box-Benutzers (geheim1234) ein.
- nter the FritzBox!-Username also in the field "Gruppenname" and select the option "Passwort nur für diesen Benutzer speichern".
- Enter the "Shared Secret" aus und tragen Sie dann das "Shared Secret".
- Click on "Extended".
- Enter "tun0" as "Tunnel-Schnittstellenname".
- Save the settings.
No Comments