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.
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.
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.
pacman -S fakeroot gcc flex bison cmake make; makepkg; pacman -U *.tar.xz
~/.ike/sites
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 ;)):
ikec -a -r host.dyndns.org
* This is the ike commandline with "c" you can connect