OpenConnectIOS is an Objective-C project that allows to easily configure and establish VPN connection using OpenConnect protocol. It is based on the original openconnect v7.07 library so it has every feature the library has.
The framework is designed to use in conjunction with NetworkExtension
framework and doesn't use any private Apple API.
- iOS 9.0+ or macOS 10.11+
- Xcode 9.0+
- Setup OpenConnect
server
- Clone project:
$ cd [your folder]
$ git clone https://github.com/AnhTVc/OpenConnectIOS.git
- Open with Xcode
- Open file VPNViewController.m and setup config
[Wrapper startWithOptions:@[@"--no-cert-check",
@"--user", @"[your username]",
@"[your server]";
Find line "- (void) saveToPreferences"
reconfig:
NSString *server = @"[your server]";
NSString *ippublicserver = @"[ip public server]";
NSString *port = @"[port connect]";
if you are interested, contact me skype: tranvietanh.hust@gmail.com or email: tranvietanh.hust@gmail.com
Do not hesitate, just a small fee I will help you complete the OpenConnect VPN project on IOS