iOS Private API for VPN

我的未来我决定 提交于 2019-12-05 02:07:41

问题


I'm looking for some private API to start a VPN connection configured in the Settings app. Anyone any suggestions where I can find them? The only thing I found is the ManagedConfiguration.framework. Is that the right place to start? it's kind a hard without any documentation :-/

P.S. I know private api can't be on the iTunes Store etc. This is only for private use.


回答1:


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. The official doc gives no deeper information. Grmbl.

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




回答2:


There is such api in the system configuration framework. But it's all Core Foundation. It's pretty hard to reverse engineere that. So I gave up on it.




回答3:


well this more than this: 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 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.

So I confirm: you waste your time with this topic



来源:https://stackoverflow.com/questions/5742244/ios-private-api-for-vpn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!