Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

VPN connection disconnected by communication device

I am attempting to set up a VPN using OS X Server 5.2. I have configured my Shaw Router (Cisco DPC3825 DOCSIS 3.0 Data Gateway) as follows:

User uploaded file

In the Server settings for the Mac, I have the host name set to a DynDNS domain. The Internet section status confirms I have 1 service reachable at <DynDNS URL>. The Network Interfaces match the Mac LAN IP Address.


The VPN Service confirms that Status is reachable. I saved the Config Profile and emailed it to my iCloud mail account.


I open the email on my iPhone SE and install the config file and a VPN Profile is created in the General Settings. I use the admin login uid (long version) and password of the server mac for the account information.


Everything in the set up seems to be configured correctly.


However, when i attempt to connect the iPhone to the VPN via LTE, I get the following message:

User uploaded file


When I attempted to connect via WiFi, I get the following message:

User uploaded file


The issue seems to coincide with the switch over to the iMac and an updated Shaw modem/WiFi Router. I did not have any problems when I was running Server for OS X 10.4 connected to an older Shaw Modem (no router). Unfortunately, that Mac in not working, and I don't have access to the previous cable modem.


I have spent hours trying to get the VPN working and have failed miserably. Since I did not have a problem with the previous hardware configuration, I think it is likely that the current hardware may be the issue.


Has anyone had success with this modem and version of server? And if so, can you advize on how to get VPN working?


Any help or advice would be greatly appreciated.


TIA

iMac, OS X El Capitan (10.11.6), Server 5.2

Posted on Jan 14, 2017 2:55 AM

Reply
2 replies

Jan 14, 2017 3:14 AM in response to Gary Sumlak

FYI

The following messages are displayed in the VPN Log when attempting to connect via LTE:

2017-01-14 04:07:50 MSTIncoming call... Address given to client = 192.168.0.225

Sat Jan 14 04:07:50 2017 : Directory Services Authentication plugin initialized

Sat Jan 14 04:07:50 2017 : Directory Services Authorization plugin initialized

Sat Jan 14 04:07:50 2017 : publish_entry SCDSet() failed: Success!

Sat Jan 14 04:07:50 2017 : publish_entry SCDSet() failed: Success!

Sat Jan 14 04:07:50 2017 : publish_entry SCDSet() failed: Success!

Sat Jan 14 04:07:50 2017 : L2TP incoming call in progress from '72.143.235.240'...

Sat Jan 14 04:07:50 2017 : L2TP received SCCRQ

Sat Jan 14 04:07:50 2017 : L2TP sent SCCRP

Sat Jan 14 04:07:50 2017 : L2TP received SCCCN

Sat Jan 14 04:07:50 2017 : L2TP received ICRQ

Sat Jan 14 04:07:50 2017 : L2TP sent ICRP

Sat Jan 14 04:07:50 2017 : L2TP received ICCN

Sat Jan 14 04:07:50 2017 : L2TP connection established.

Sat Jan 14 04:07:50 2017 : using link 0

Sat Jan 14 04:07:50 2017 : Using interface ppp0

Sat Jan 14 04:07:50 2017 : Connect: ppp0 <--> socket[34:18]

Sat Jan 14 04:07:50 2017 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x52afcd3e> <pcomp> <accomp>]

Sat Jan 14 04:07:50 2017 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79e0fe12> <pcomp> <accomp>]

Sat Jan 14 04:07:50 2017 : lcp_reqci: returning CONFACK.

Sat Jan 14 04:07:50 2017 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x79e0fe12> <pcomp> <accomp>]

Sat Jan 14 04:07:50 2017 : rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x52afcd3e> <pcomp> <accomp>]

Sat Jan 14 04:07:50 2017 : sent [LCP EchoReq id=0x0 magic=0x52afcd3e]

Sat Jan 14 04:07:50 2017 : sent [CHAP Challenge id=0xac <57276c212b30620510577e01125a0255>, name = "tmi.dyndns-at-home.com"]

Sat Jan 14 04:07:50 2017 : rcvd [LCP EchoReq id=0x0 magic=0x79e0fe12]

Sat Jan 14 04:07:50 2017 : sent [LCP EchoRep id=0x0 magic=0x52afcd3e]

Sat Jan 14 04:07:50 2017 : rcvd [LCP EchoRep id=0x0 magic=0x79e0fe12]

Sat Jan 14 04:07:50 2017 : rcvd [CHAP Response id=0xac <dc646c6a480cf79c058a314b6367d70b0000000000000000737752a58f5f5180da05de29d4579f 3a7dc357a6411dfee700>, name = "Gary Sumlak"]

Sat Jan 14 04:07:50 2017 : sent [CHAP Failure id=0xac ""]

Sat Jan 14 04:07:50 2017 : CHAP peer authentication failed for Gary Sumlak

Sat Jan 14 04:07:50 2017 : sent [LCP TermReq id=0x2 "Authentication failed"]

Sat Jan 14 04:07:50 2017 : Connection terminated.

Sat Jan 14 04:07:50 2017 : L2TP disconnecting...

Sat Jan 14 04:07:50 2017 : L2TP sent CDN

Sat Jan 14 04:07:50 2017 : L2TP sent StopCCN

Sat Jan 14 04:07:50 2017 : L2TP disconnected

2017-01-14 04:07:50 MST --> Client with address = 192.168.0.225 has hungup


The UID is correct, so I don't understand why it is failing.


No messages are being generated when I attempt to connect via WiFi.

Mar 7, 2017 5:08 PM in response to Gary Sumlak

1723 is the port for PPTP. PPTP was deprecated in server version 5, so you should no longer port forward for it. Try using the your current WAN IP address instead of hostname. Also make sure there is an /etc/racoon folder. Make sure the user name is your short name in the VPN config. On your LTE device make sure you do not have a ipv6 address, this can cause issues.


Good Luck

VPN connection disconnected by communication device

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