Iphone ipsec vpn
The IPSec secret (/etc/ipsec.secrets) goes into the 'Secret' field. Keep 'Send All Traffic' enabled. If the connection succeeds, a VPN symbol will show up in the iPhone status bar. All traffic from then on will flow through the VPN. It may not immediately work. Look in /var/log/auth.log and /var/log/daemon.log for debug messages.