Orion Edwards
Orion Edwards

Reputation: 123612

Using NEVPNManager in iOS 8, How can I programmatically create VPN connections to custom VPN types? (e.g. Cisco any connect)

Looking at VPN configuration in apple's Configurator tool, it offers many different types of VPN, such as

I'd like to create a custom VPN configuration programmatically using NEVPNManager, however looking at the list of objects added in the NetworkExtension framework there are only 2 protocol classes - NEVPNProtocolIPSec and NEVPNProtocolIKEv2.

I'm new to the world of VPN's, so my question is this:

Are those proprietary VPN types (such as Cisco AnyConnect) just variations of IPSec or IKEv2, and thus can I set them up using one of those protocol classes, or is it not currently possible to do this with NEVPNManager

Upvotes: 13

Views: 1875

Answers (2)

Mike Zriel
Mike Zriel

Reputation: 1865

Thank you for requesting information about the Network Extension framework. Please note that as of November 10, 2016 this process is not required for developers who wish to use App Proxy, Content Filter, or Packet Tunnel APIs. To use these services please navigate to your Developer Account at https://developer.apple.com/account/ and select the Network Extension capability for the App ID you will be using for your app.

If you are requesting an entitlement for Hotspot Helper APIs and have already filled out the request questionnaire then your request will be addressed at our earliest convenience. Otherwise please visit https://developer.apple.com/contact/network-extension/ and enter the required information.

Regards, Developer Technical Support Apple Worldwide Developer Relations

Upvotes: 0

Witterquick
Witterquick

Reputation: 6150

You can implement your own version of VPN via NEVPNManager, but you can't use it to set up / edit other VPNs (such as Cisco).

Upvotes: 1

Related Questions