VPN setup without .mobileconfig

Hello, I'm making vpn app with ikev2 server. How can I connect to it without installing mobileconfig profile? I know that every vpn app in appstore can connect without it but mine is showing "Unexpected error occured" with manual setup or setup through app. Are there any special things I need to know about preparing steps for connecting to vpn from app? By the way, connecting with .mobileconfig is ok.

Replies

If you have a working mobileconfig then my recommendation would be to use that as a guideline on how to start setting up a manual configuration for your Personal VPN app. Use Apple Configurator if you need to compare different options available in your mobileconfig and what you have defined in your NEVPNManager API.


If you are still unsuccessful, then take a look at what is going on in your iOS console logs or server side logs when a successful connection is made, compared to your manual configuration error. This might shine some light on something that was overlooked.



Matt Eaton

DTS Engineering, CoreOS

meaton3 at apple.com