方便用户快速地配置、打开以及关闭VPN,使用iOS 8 Network Extension Framework。
Note: 这个不是VPN服务器,也没有提供VPN账号,只是方便用户使用VPN服务。
- 界面简洁
- 支持IPSec
- 支持On Demand连接
- 支持Today Widget
- 支持Slider Over和Split View
- 支持Handoff
为了编译工程,您需要修改bundle_id以及VPN和VPN Widget的Capabilities
- Personal VPN
- Keychain Sharing
- App Groups
V2.1.0
- 支持Handoff
- 用Swift 2.0 实现
- 支持iPad,支持Slide Over和Split View
解决iOS 9的问题:
- 第一次连接VPN时,提示安装VPN到设备,startVPNTunnel会调用失败,但是没有NEVPNStatusDidChangeNotification通知消息;
- 第一次saveToPreferences安装VPN到设备之后回到App,需要再调用loadFromPreferences,加载VPN设置
iOS 8.0+