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

Migrated VPN Service Broken with Catalina

My Mac mini has been working just fine with macOS Mojave as a VPN server following the migration method described in https://developer.apple.com/support/downloads/macOS-Server-Service-Migration-Guide.pdf , but after upgrading to macOS Catalina there is trouble:


The VPN clients connect just fine on the internal network, but not on an external network; which makes the VPN server a bit pointless! I can confirm that all was working well with the server running macOS Mojave, and my iOS 13 and iPadOS 13 clients have been connecting just fine; it is the upgrade to macOS Catalina on the server that has caused this problem.


Here are the log entries for a failed connection:





Posted on Oct 11, 2019 9:42 AM

Reply

Similar questions

120 replies

Jan 15, 2020 4:34 AM in response to clubbyestatedriver

I recently migrated to 10.15 and my MacPorts-based macOS vpnd server is running just fine.


The basic setup is pretty straightforward and shouldn’t be too hard to troubleshoot.


The MacPorts install is:


sudo port install macos-vpn-server

sudo port load macos-vpn-server


Also, see the migration notes in the repo https://github.com/essandess/macOS-Open-Source-Server for details, or see the MacPorts Port file at https://github.com/macports/macports-ports/blob/master/net/macos-vpn-server/Portfile.

Jan 16, 2020 5:30 AM in response to clubbyestatedriver

FWIW, certificate-based OpenVPN is more secure, flexible, and reliable than macOS’s L2TP/CHAP/PSK-based VPN.


It’s worthwhile having a couple different options available in case the external network has various tcp/upd blocks.


It’s straightforward to stand up an OpenVPN Server on macOS along with iOS clients that aren’t affected by any design decisions or mistakes that affect vpnd.


See https://github.com/essandess/macos-openvpn-server.

Jan 16, 2020 8:43 AM in response to essandess

Bernard Tao's VPNEnabler tool for Catalina makes use of OpenVPN. He has a free trial download.


Although other options do exist, inclusive of purchasing a VPN-enabled router, it is just so incredibly inconvenient and frustrating that Apple has taken an existing tool that has worked well for years and suddenly disabled functionality for no apparent reason (disrupting the workflow for so many of us). I think many of us are still hopeful that Apple will resolve this problem. I hope everyone on this chain has submitted to Apple's Feedback Assistant for Catalina.

Feb 11, 2020 1:06 PM in response to clubbyestatedriver

I have the same issues on MacMini/Catalina reported under:

FB 15957415


I was able to move to an older MacMini running 10.13.6 (HighSierra).


Here some observations during testing.


It seems from the WAN connection on the server.log that the IPSEC connection is established (6 times) but the L2TP dialog is not successful.


Copying the vpnd configuration from a MacMini 10.15.2 to the MacMini running 10.13.6 gives a successful connection on both LAN and WAN.


As a site note I use a freebsd firewall using pf between the LAN and a ARRIS TG1683G Router/Modem by Xfinity(Comcast).

When I connect the client to the DMZ between the freebsd firewall and the Xfinity router and use the DMZ address as the VPN Server address I get a successful connection to the the MacMini running Catalina.


Mar 13, 2020 7:32 AM in response to clubbyestatedriver

Somewhere I read that PPP is no longer supported in Catalina, and somewhere else that it was the PPTP.ppp kernel extension. Either way, I suspect that PPP somehow explains the VPN problem in Catalina.


When I set up a new iMac under Catalina 10.15 from a Carbon Copy Cloner clone of my Mojave Mac Mini, CCC reported a folder /private/var/run/vpnd-L2TP.pid as a “previously relocated item,” which seems to mean it could not install it.

Mar 13, 2020 3:27 PM in response to Gib Henry

This is not related.


You can connect from macOS 10.15 to a vpnd server running in macOS 10.14 just fine, meaning that there is no missing kernel extension for that type of connection.


Moreover, you can connect from macOS 10.15 client to macOS 10.15 server running vpnd within the same local network, it just does not work for external connection (probably a NAT issue).

Mar 13, 2020 4:27 PM in response to Ivan Pavlov

I’ll repeat my previous post for those who haven’t read far back:


I have very successfully set up on Catalina, a Parallels Mojave client running the native VPN I was using before Catalina ruined it. Works great! And was “ free” since I already had Parallels to use with Windows. Also let’s me run Acrobat 32 bit as well!

Mar 19, 2020 1:16 PM in response to lcrooks

Why unbelievable? They've triaged this and decided that only a relative few of us use it, and so our screams won't be loud enough to rock the prioritizers. Just because that's true doesn't make it right or good, of course, but Apple's the biggest gorilla in this jungle, so…. And honestly, there are worse bugs which go unresolved forever, although I'd guess this one would be pretty easy to identify and fix. Maybe we should scream louder, but given the stripping Apple gave MacOS Server, I'm guessing it wouldn't help.

Apr 14, 2020 5:51 AM in response to clubbyestatedriver

The problem is with the vpnd binary in /usr/sbin. ppp, racoon and kernel work fine. To fix it copy in a version of vpnd from a prior, but recent, macos version. I used the binary from Mojave (10.14) and vpn server now works fine on Catalina for both internal and external connections (I copied the binary to /usr/local/bin and changed the plist to load it).

Migrated VPN Service Broken with Catalina

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