Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.74 KB

README.md

File metadata and controls

38 lines (35 loc) · 1.74 KB

OpenConnectIOS

Platforms iOS Versions Xcode Version Carthage Compatible License

What is this?

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.

Installation

Requirements

  • iOS 9.0+ or macOS 10.11+
  • Xcode 9.0+

Usage

  • 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]";

Contact

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