Mac Server VPN Requires Restart When Waking from Sleep

I am running OS 10.9.4 and Server 3.1.2.


I had a L2TP VPN configured and working well. I suspect the 10.9.4 update caused the following issue.


ISSUE: After waking from sleep, the VPN service requires a restart in order to accept connections. Clients timeout and receive an error message saying the server is not accepting connections. A quick OFF/ON toggle in the Server GUI fixes the problem.


Any advice or do I need to wait this one out?

Posted on Aug 25, 2014 6:01 PM

Reply
8 replies

Aug 26, 2014 8:37 AM in response to dmbono

If the server is asleep there is nothing awake to answer the clients VPN connection request. As such there is nothing to fix because you are 'holding it wrong' 😉


The nearest solution is to first issue a 'wake on LAN' packet which wakes a sleeping computer, then once it is awake it should answer the request. Except Wake on LAN is designed to only work locally on the same LAN and is aimed more at waking sleeping client devices not sleeping servers.


As both Strontium90 and myself indicated servers are not designed to sleep. They normally have to be running all the time so they are always ready to answer client requests.


A Mac mini acting as a server especially if you use an SSD drive or perhaps as I suggested limit it to just sleeping the hard drive uses a tiny amount of power. You can turn off the monitor as well.

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.

Mac Server VPN Requires Restart When Waking from Sleep

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