OpenVPN-IOS is an Objective-C project that allows to easily configure and establish VPN connection using OpenVPN protocol. It is based on the original openvpn3 library so it has every feature the library has.
The project is designed to use in conjunction with NetworkExtension framework and doesn't use any private Apple API.
Support .mobileconfig sample openvpn connect app: https://openvpn.net/faq/can-i-import-an-openvpn-profile-via-an-ios-mobileconfig-file/
Download here
I complete integrate openvpn with NetworkExtension:
Video demo in here
Video demo work with .mobileconfig
Install GNU libtool and automake:
$ brew install libtool automake
Generate a static key and place it in /configuration
:
$ openvpn --genkey --secret static.key
Build the dependencies:
$ bash build-libssl.sh
$ bash build-openvpn.sh
clone source hans and openvpn to Submodules.Link source
https://github.com/chrisballinger/hans/tree/893ac91eaf080b43170b839b22f9086f0dbc648d
https://github.com/chrisballinger/openvpn/tree/0f77573024e69c34ec8a5cbc0744e126ad73de27
To clean the Submodules/openvpn
build folder:
$ cd /Submodules/openvpn
$ git clean -f && git clean -f -X
But you don't have to rebuild the library, I have add library into the project
Simplest OpenVPN setup: Static Key Mini-HOWTO
if you are interested or have problems when use, pls contact me
skype: [email protected] email: [email protected]
Do not hesitate, just a small fee I will help you complete the OpenVPN project on IOS