iPhone VPN with OpenSwan fails to reconnect

Posted by gilm on Server Fault See other posts from Server Fault or by gilm
Published on 2011-03-13T16:02:22Z Indexed on 2011/03/13 16:11 UTC
Read the original article Hit count: 382

Filed under:
|
|

I have managed to configure VPN with iPhone and OpenSWAN on Linux 2.6. Though, when disconnecting the iphone and reconnecting, it times out.

I have found that:

1) no packets are being sent when you disconnect iPhone from VPN.

2) when reconnecting, pluto picks up on the older socket and tries to use that state machine. which then fails and iPhone retransmits until times out.

I'm using the latest version in git, including #1204 patch. I see the NAT-T patch debug lines in the logs. But still, no cookie.

Help?

© Server Fault or respective owner

Related posts about vpn

Related posts about iphone