Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

  • L2TP
  • PPTP
  • Cisco AnyConnect
  • Juniper SSL
  • Check Point Mobile VPN etc

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

like image 440
Orion Edwards Avatar asked Apr 14 '15 20:04

Orion Edwards


1 Answers

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).

like image 113
Roee84 Avatar answered Sep 29 '22 10:09

Roee84