IPSec VPN connects then disconnects

I've got a 3g iPhone and I'm trying to set connect to a IPSec VPN. I've got a group name and secret as well as an account name and password. When I connect everything looks like it works (no error messages) and it says "connected" in the status area.

But then about 1 second later it goes back to disconnected and the VPN "switch" turns off. There are no error messages and no indication of anything going wrong.

What is it doing? Is there a log I can read somewhere?

iPhone 3g

Posted on Jul 14, 2008 2:43 AM

Reply
9 replies

Jul 22, 2008 12:00 PM in response to jbnetdog

Hi,
Just posted in another thread before reading through all threads (tsk tsk) with a problem that I think is identical to david's issues. The only difference is that I authenticate using only RSA SecurID with no user name and password (on my Mac Cisco client).

http://discussions.apple.com/thread.jspa?threadID=1599227&tstart=0

I'm hoping that jbnetdog's solution will also work for me. Just one question to jbnetdog: what should the client type be for a 1st gen iPhone upgraded to 2.0 using Cisco IPSec? Haven't been able to find this...

Cheers,

Frederik

Jul 27, 2008 3:40 AM in response to __david__

I had got the same problem. I had get my old 1G iPhone save in my fresh new 3G iPhone. All working well except VPN which did the same as you.

Reseting network settings to default did nothing.

So I did a full restore of my phone and DID NOT GET my save back from iTunes. Just synchronized and had to custom settings from scratch.

This solved this issue. I think it was a corrupt config.

Hope this helps.

Jul 29, 2008 10:44 AM in response to __david__

Thanks for all your replies.

It turned out that the VPN server was set up to do DES, not 3DES and the iPhone only supports 3DES and AES (2 variants). The only way to determine the error was to get to the server logs, which is why it took so long to figure out. I think the iPhone should report errors instead of mysteriously dropping the connection...

The administrator flipped the bit to use 3DES and the iPhone connected right up. Yay!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

IPSec VPN connects then disconnects

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.