I doesn't realy like Fritzbox's nor IPSec and myself I'm using a Netgear Router with Tomato and OpenVPN but I had to connect to this IPSec VPN from this Fritzbox 7170. I find Shrew IKE to do this and if you also want to connect to Fritzbox IPSec hear you can find out how did you get it to work. I used Arch Linux as IPSec Client.
Configure VPN Gateway
First you have to configure you Fritzbox for a Client-to-Site VPN … and unfortunately this is only possible with the Windows Software to create the config. Hear the Link to the German AVM Site.
Configure VPN client
You find the shrew Client in the AUR (Arch User Repository). I only get to work the shrew-vpn-client-alpha 2.2.0-9 with an actual System.
- You will need some packages to make the shrew Client
pacman -S fakeroot gcc flex bison cmake make; makepkg; pacman -U *.tar.xz
- All configs for VPN Connections have to be located in
Create config to connect to Fritzbox
There are several way to create your config. The easiest is to install shrew on the Windows maschine you used to create you Fritzbox config and export it. AVM also have a Doku how to configure the Shrew client.
AVM Doku. There is also a perl script to convert a windows - to a linux config but it doesn't work for me, name is “vpnseter.pl”.
hear is my config (most of it ;)):
- When you have your config on the right place you can connect
ikec -a -r host.dyndns.org
* This is the ike commandline with "c" you can connect
- With ubuntu I doesn't get it work. There was the problem that the tunnel was established, packages got to the fritzbox-net but on there way back they lost. Here is the german doku for Ubuntu.
- Perhaps you have to set some sysctl values, see Ubuntu Doku