L2TP VPN is not working on macOS after update to 11.7.2.

L2TP VPN is not working on macOS 11.7.2.


Fri Dec 16 22:54:45 2022 : L2TP can't set L2TP server address: Cannot allocate memory
Fri Dec 16 22:54:45 2022 : IPSec connection started
Fri Dec 16 22:54:45 2022 : L2TP error sending Hello (Destination address required)
Fri Dec 16 22:54:45 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Fri Dec 16 22:54:46 2022 : L2TP error sending Hello (Destination address required)
Fri Dec 16 22:54:46 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Fri Dec 16 22:54:47 2022 : L2TP error sending Hello (Destination address required)
Fri Dec 16 22:54:47 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Fri Dec 16 22:54:48 2022 : L2TP error sending Hello (Destination address required)
Fri Dec 16 22:54:48 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Fri Dec 16 22:54:49 2022 : L2TP error sending Hello (Destination address required)
Fri Dec 16 22:54:49 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Fri Dec 16 22:54:50 2022 : IPSec connection failed


Is there any way that I can set the address manually?

MacBook Pro

Posted on Dec 16, 2022 5:46 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 23, 2023 3:39 PM

Big Sur 11.7.3 fixes L2TP VPN. Secure connections once again. Applied update on iMac, Macbook Pro 13 2022, and Macbook M2 Air. All L2TP VPN goodness.

Similar questions

56 replies

Dec 21, 2022 1:18 PM in response to JAB_66

In my research, I've learned that L2TP over IPSec is insecure and subject to attack, but it's still working on OS Monterey. If you can't upgrade computer, see if your office router supports OpenVPN server. This protocol is supported natively on a lot of the modern routers, and you don't have to invest much to get one.


The client software is free download from OpenVPN organization.


I've just installed this and it's working fine. Finally. I had to work with it a bit to see what settings work on the router (VPN server). For the record, on this TP-Link router, the default server config was "home and internet networks" and that didn't work well for me. I changed it to "home network only"

Dec 23, 2022 8:06 AM in response to minerbel87

According to my conversation with Apple 2nd level technical support, there is no way to downgrade to 11.7.1


The solution offered is to wipe your drive, install the factory operating system and then update ONLY to Catalina. Proceeding past that will give you the 11.7.2 without the ability to go to 11.7 selectively.


Of course, this was my desired path, to undo that most recent patch, but it's not possible, .you'll be stuck with Catalina (which I personally skipped installing because it wasn't stable in my experience)

Jan 10, 2023 1:51 AM in response to JAB_66

"Thank you" to Apple for caring... It is quite obvious that l2tp is broken on purpose, because no such problem was found in other OS versions (Monterey and Ventura). And to switch to Monterey, my MacBook PRO is getting too hot, I doubt that the situation will be better on an officially unsupported Ventura.

I had to switch to Ikev2 and VPN in test mode. As a result, we stayed on Ikev2, because it does not require a third-party client.


What to do to users who do not have admin access to network equipment or other restrictions on the part of information protection, I will not know. 

Once again, "Thank you" to Apple for caring...

Dec 23, 2022 8:18 AM in response to JAB_66

Jab, many modern and inexpensive routers include OpenVPN servers. this is the solution I went for. I have an Asus and at TP-LInk router set up for this at various offices. Client software is free, too.


Sonicwall routers offer a VPN option, but other than the L2TP over IPSec that we have been using, you need a subscription, and these routers are relatively expensive, but probably much higher in security.

Dec 23, 2022 8:29 AM in response to Peter Addison

Thanks Peter, at the job we have got a Mikrotik and currently I am configuring SSTP (let's cross the fingers) for testing, also I could configure an OpenVPN too, next step. I am not network expert so everything is step by step...


What I see if that we are in a trouble with this problem, Apple is not going to fix it and we can not upgrade to Monterrey neither to downgrade to Catalina (too much work)....

Dec 19, 2022 4:06 AM in response to drdizzy82

Same problem at my side, after upgrade Big Sur to 11.7.2 problem with L2TP/IPSEC VPN connection.

There are following messages in /var/log/ppp.log :


Mon Dec 19 12:54:25 2022 : publish_entry SCDSet() failed: Success!

Mon Dec 19 12:54:25 2022 : publish_entry SCDSet() failed: Success!

Mon Dec 19 12:54:25 2022 : l2tp_get_router_address

Mon Dec 19 12:54:25 2022 : l2tp_get_router_address x.x.x.x from dict 1

Mon Dec 19 12:54:25 2022 : L2TP connecting to server 'y.y.y.y' (y.y.y.y)...

Mon Dec 19 12:54:25 2022 : L2TP can't set L2TP server address: Cannot allocate memory

Mon Dec 19 12:54:25 2022 : IPSec connection started

Mon Dec 19 12:54:25 2022 : L2TP error sending Hello (Destination address required)

Mon Dec 19 12:54:25 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Mon Dec 19 12:54:26 2022 : L2TP error sending Hello (Destination address required)

Mon Dec 19 12:54:26 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Mon Dec 19 12:54:27 2022 : L2TP error sending Hello (Destination address required)

Mon Dec 19 12:54:27 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Mon Dec 19 12:54:28 2022 : L2TP error sending Hello (Destination address required)

Mon Dec 19 12:54:28 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Mon Dec 19 12:54:29 2022 : L2TP error sending Hello (Destination address required)

Mon Dec 19 12:54:29 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Mon Dec 19 12:54:30 2022 : IPSec connection failed


Regards

Krzysztof

Dec 20, 2022 4:17 PM in response to kristoferson887

I'm having the same issue in my iMac


Tue Dec 20 16:15:10 2022 : publish_entry SCDSet() failed: Success!

Tue Dec 20 16:15:10 2022 : publish_entry SCDSet() failed: Success!

Tue Dec 20 16:15:10 2022 : l2tp_get_router_address

Tue Dec 20 16:15:10 2022 : l2tp_get_router_address 192.168.42.254 from dict 1

Tue Dec 20 16:15:10 2022 : L2TP connecting to server 'proper-address-here.com' (correct IP here)...

Tue Dec 20 16:15:10 2022 : L2TP can't set L2TP server address: Cannot allocate memory

Tue Dec 20 16:15:10 2022 : IPSec connection started

Tue Dec 20 16:15:10 2022 : L2TP error sending Hello (Destination address required)

Tue Dec 20 16:15:10 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Tue Dec 20 16:15:11 2022 : L2TP error sending Hello (Destination address required)

Tue Dec 20 16:15:11 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Tue Dec 20 16:15:12 2022 : L2TP error sending Hello (Destination address required)

Tue Dec 20 16:15:12 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Tue Dec 20 16:15:13 2022 : L2TP error sending Hello (Destination address required)

Tue Dec 20 16:15:13 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Tue Dec 20 16:15:14 2022 : L2TP error sending Hello (Destination address required)

Tue Dec 20 16:15:14 2022 : Failed to send L2TP hello trigger. tried 0, max 10

Tue Dec 20 16:15:15 2022 : IPSec connection failed

Dec 21, 2022 3:36 AM in response to InvenCode

Exactly the same problem after update to 11.7.2


Wed Dec 21 16:11:04 2022 : l2tp_get_router_address
Wed Dec 21 16:11:04 2022 : l2tp_get_router_address x.x.x.x from dict 1
Wed Dec 21 16:11:04 2022 : L2TP connecting to server '######' (x.x.x.x)...
Wed Dec 21 16:11:04 2022 : L2TP can't set L2TP server address: Cannot allocate memory
Wed Dec 21 16:11:04 2022 : IPSec connection started
Wed Dec 21 16:11:04 2022 : L2TP error sending Hello (Destination address required)
Wed Dec 21 16:11:04 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Wed Dec 21 16:11:05 2022 : L2TP error sending Hello (Destination address required)
Wed Dec 21 16:11:05 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Wed Dec 21 16:11:06 2022 : L2TP error sending Hello (Destination address required)
Wed Dec 21 16:11:06 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Wed Dec 21 16:11:07 2022 : L2TP error sending Hello (Destination address required)
Wed Dec 21 16:11:07 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Wed Dec 21 16:11:08 2022 : L2TP error sending Hello (Destination address required)
Wed Dec 21 16:11:08 2022 : Failed to send L2TP hello trigger. tried 0, max 10
Wed Dec 21 16:11:09 2022 : IPSec connection failed

Dec 21, 2022 9:54 AM in response to InvenCode

I've been in touch with Apple support twice now on this. Instead of addressing the bug head-on and releasing 11.7.3, they are saying to "upgrade" to OS Monterey. If this is not possible, because, for instance, your nearly $4,000.00 7 yo iMac is "obsolete" you're basically out of luck. Wipe your drive, upgrade to OS Catalina (not!), restore from backup and you're done like dinner.


There is no way to restore to 11.7 because they don't take OS snapshots like Windows does and if you upgrade past Catalina you're going to get 11.7.2 and experience the issue again; they will deliver a faulty OS.

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.

L2TP VPN is not working on macOS after update to 11.7.2.

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