Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

No internet connection on per-app VPN.

I'm developing a per-app VPN iOS app with Wireguard. For that, I created a configuration file with payload type "com.apple.vpn.managed.applayer". Using the MDM server I installed some apps which need to use the VPN connection. But when I open these apps, I could see the VPN getting enabled in the device. The VPN icon appears on the notification bar but no internet connection. The VPN and internet is working correctly if I change the payload type to "com.apple.vpn.managed" in configuration file.

@telestratum.net Have you resolved the issue? I am experiencing a similar problem. The handshake with the server is successful, and the server is sending keep-alive packets to the device. However, the server is unable to read the incoming packets and logs the error: "Incorrect packet received from peer."

please assist me, if you have resolved the issue.

The handshake with the server is successful

Are you talking about the VPN server? Or the server that the app using the per-app VPN is talking to?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

No internet connection on per-app VPN.
 
 
Q