Simple iOS VPN PerApp example

You need to use the Simplekeychain class from my previous post, this example is to use as Cordova Plugin, but you can easily understand it and take only the parts you need.

VPNManager.h

VPNManager.m