Iphone ipsec client config
-
I was curious about the vpn client used on the iphone, I read somewhere that racoon was used but couldn't find much more than that so I dug around a bit. I'm attaching the configurations for future reference, might be of use for someone. The configurations are from IOS 4.2.1 on iphone4
Default global configurations are in /etc/racoon, the client configurations from the vpn-settings on the iphone gets temporarly written to /var/run/racoon/ipnumber-of-vpn-server.conf when vpn gets enabled. If the connection/tunnel breaks, or when vpn is disabled the config gets deleted.
racoon itself is launched by launchd from /System/Library/LaunchDaemons/com.apple.racoon.plist
racoon-xauth-rsa_conf.txt
racoon-xauth-psk_conf.txt
racoon_conf.txt
anonymous_conf.txt