Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VPN delay

Installed Mavericks on MBA and use a VPN connection to connect to work. Since upgrading to Mavericks, I will click connect to VPN in the menu bar and it appears that nothing happens. After EXACTLY 30 seconds [reproducible every time], the vpn clock in the menu bar with then show up and start counting from 30 seconds upward. However, it is not usable for the first 30 seconds. If I try to connect to drives, etc before that, it is not connecting. Prior to Mavericks, it only took 1-2 seconds to connect. Strange behavior. Ideas why the reproducible delay of 30 seconds?

Posted on Oct 29, 2013 6:39 AM

Reply
25 replies

Nov 4, 2013 10:46 AM in response to Chale Boy

I have exactly the same problem both with a new MacBook Pro and a 2009 MacBook Air. So one meachine has a clean new Mavericks system and one was just upgraded to Mavericks. The connection was previously made by the MBA within a second or two...


I don't know a lot about the VPN set-up at the office, other than it's supposedly a plain vanilla Cisco platform.


Any ideas?

Nov 7, 2013 10:36 AM in response to Chale Boy

I am experiencing the exact same problem. 30 second delay before VPN counter begins. This started right after upgrading to Mavericks from Mountain Lion.


What I have discovered is that the vpn connection is made immediatel. I can ping internal IPs and get a response but until 30 seconds elapse, any internal DNS requests will fail. More specifically, when I connect to my vpn server, the vpn server provides an internal DNS server for the various internal machines. Those DNS requests will return failure until after 30 second have passed.


This isn't the end of the world, but it is annoying, hoping Apple will get to this sooner than later.

Apr 15, 2014 10:02 AM in response to Chale Boy

We've seen this issue at work and tested a few versions of OS X. We are not seeing the issue on either our Windows(XP-SP3, 7-SP1) or Linux (RH6.2) clients. Starting with a clean 10.7.4 install and running select incremental updates we found that the problem seems to be related to a change in howMavericks handles L2TP VPN connections:

Mac OS 10.7.4 -- no delay

Mac OS 10.7.5 -- no delay

Mac OS 10.8 -- no delay

Mac OS 10.8.5 -- no delay

Mac OS 10.9.1 -- 30 second delay

Mac OS 10.9.2 -- 30 second delay


Testing completed on a 2010 MBP 17, 4GB RAM, 240GB SSD.

May 30, 2014 1:56 PM in response to Chale Boy

Good Day All...


I found a solution to this. With a little log monitoring I found that, in my situation, the delay was due to IPv6 waiting for a reply. It tries for 30 seconds, then times-out.


To turn IPv6 off on your VPN service, you will need to open the Terminal and enter the following:


"networksetup -setv6off <vpn service name>" where <vpn service name> is the friendly name of your vpn service.


You will be prompted for an administrator password to make the change. You can double-check the setting by going into the advanced settings of your vpn service and selecting the TCP/IP tab. The Configure IPv6 option will display Off.

User uploaded file

Jun 1, 2014 1:09 AM in response to Chale Boy

Check that verbose logging enabled for your VPN connection? System Preferences -> Network -> VPN Click advanced button.


User uploaded file


Then try a connection and look at the log file ppp.log with /Applications/Utilities/Console.app. Click " Show Log List " and find ppp.log


User uploaded file


Do you see any log entries with 30 - 40 secs time stamp between them?

Which version of Mavericks? 10.9.?

VPN delay

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