is someone have informations about Apple API to access SSL and VPN capabilities on iOS. Strangely, Apple doesn't communicate about it, asking them about is not answered whereas some software produced like Juniper, Cisco, etc did this well.

up vote 2 down vote accepted

Here are couple pieces of information which I found on this: http://blog.michael.kuron-germany.de/2010/09/ios-4-1-undocumented-vpn-api-used-by-cisco-anyconnect/

iOS Private API for VPN

  • Thank you very much, this confirms that Apple is not willing to open anything, even to companies :" You can subscribe to App developer program and won't get access to the VPN API; You can even also subscribe to [Apple Entreprise program][1] Apple support confirm that you will access to it, but you won't. You can ask to the famous "eskimo" guy to be invited and have acces but at the end only some of companies like Cisco, Juniper, and some others are granted to it." [1]: developer.apple.com/programs/ios/enterprise – dlewin Oct 3 '12 at 8:01

iOS 8.0 now includes the Network Extension framework. It is not documented on developer.apple.com, but in the 'Capabilities' pane, you just flip on 'Personal VPN' and it is added to the project for you... then you can browse its headers.

I just discovered this and am now digging in, so I have no further insight, but there you go.

  • 1
    I just found the Network Extension framework in ios 8.1 only supports two major protocols, IPSec and IKEv2.You can program control connect or disconnect the vpn. I can not found a way to implement a custom protocol. – bronze man Jan 4 '15 at 17:09

苹果给这些大厂商进行了授权,准允他们使用私人的接口。创建Tun虚拟接口,取到一个原始的Socket FD,通过此FD来读写数据到Tun口 https://github.com/liaogang/iOSUndocumentedVPN

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.