Connection to VPN via application without .mobileconfig

Hello, I started to make VPN app and I can't setup IKEv2 server so I can connect to it without .mobileconfig file. All the applications of vpn that I tried adding vpn profiles directly from settings without .mobileconfig. When I add VPN connection directly or through NEVPNManager unexpected error occuring on trying to connect. I'm using flutter plugin that connects through native code to vpn (https://github.com/X-dea/Flutter-VPN/blob/master/ios/Classes/VPNHandler.swift). Do I need to sign by any way my vpn server except let's encrypt certificate? I've done setup instructions from here https://github.com/jawj/IKEv2-setup.

Replies

The first thing you need to do here is distinguish between a problem with your VPN and a problem with your VPN code. To do this, using Apple Configurator to create a configuration profile for your VPN server. Can you get that to work?

ps I’m not suggesting that this be your final solution; it’s just an interim debugging step.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"