Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Server 4.1 Unable to get VPN to connect to office server.

Running Yosemite Server 4.1 supporting File Server, calDAV and CardDAV on MacMini Late 2009 with 2 x 500GB Hard Drives running Yosemite, with AirPort Extreme, 6th generation router. I believe I have followed directions to setup VPN but am still getting the following message when I try to connect from client MacBook Pro Mid 2014 also running Yosemite 10.10.2:


The server is unreachable. Try reconnecting. If the problem continues, verify your settings and contact your Administrator


I had Stealth mode turned on on the Server and have turned that office but still no go. Would appreciate any thoughts or suggestions.


Thanks,


otter

Posted on Apr 22, 2015 7:39 PM

Reply
2 replies

Apr 23, 2015 9:45 AM in response to naked.otter

To run a public VPN server behind an NAT gateway, you need to do the following:

1. Give the gateway either a static external address or a dynamic DNS name. The latter must be a DNS record on a public DNS registrar, not on the server itself. Also in the latter case, you must run a background process to keep the DNS record up to date when your IP address changes.

2. Give the VPN server a static address on the local network, and a hostname that is not in the top-level domain "local" (which is reserved for Bonjour.)

3. Forward external UDP ports 500, 1701, and 4500 (for L2TP) and TCP port 1723 (for PPTP) to the corresponding ports on the VPN server.

If your router is an Apple device, select the Network tab in AirPort Utility and click Network Options. In the sheet that opens, check the box marked

Allow incoming IPSec authentication

if it's not already checked, and save the change.

There may be a similar setting on a third-party router.

4. Configure any firewall in use to pass this traffic.

5. Each client must have an address on a netblock that doesn't overlap the one assigned by the VPN endpoint. For example, if the endpoint assigns addresses in the 10.0.0.0/24 range, and the client has an address on a local network in the 10.0.1.0/24 range, that's OK, but if the local network is 10.0.1.0/16, there will be a conflict. To lessen the chance of such conflicts, it's best to assign addresses in a random sub-block of 10.0.0.0./0 with a 24-bit netmask.

6. "Back to My Mac" is incompatible with the VPN service. It must be disabled both on the server and on an AirPort router, if applicable.

7. To make services accessible through the tunnel, you need a working DNS service. Where applicable, services such as Mail must be configured to listen on the netblock assigned to VPN clients.

8. If the server is directly connected to the Internet, rather than being behind NAT, see this blog post.

Server 4.1 Unable to get VPN to connect to office server.

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