Giter VIP home page Giter VIP logo

minjunhuang / openvpn-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anhtvc/openvpn-ios

0.0 1.0 0.0 42.24 MB

Build OpenVPN source for IOS

License: GNU General Public License v3.0

Shell 0.78% AGS Script 0.01% C++ 2.84% C 72.98% Makefile 3.88% Batchfile 0.24% Perl 2.78% DIGITAL Command Language 1.60% Objective-C 0.40% Perl 6 10.98% Prolog 1.48% Assembly 1.69% XS 0.02% M4 0.25% eC 0.03% Emacs Lisp 0.02% HTML 0.01% Scheme 0.02% Roff 0.01%

openvpn-ios's Introduction

openvpn-server-ios

Tethering the hard way.

It turns out that Apple doesn't allow you to use <net/if_utun.h> unless you pay them a lot of money. Unfortunately you can't use tunemu either.

Apple refuses to allow people to use the VPN framework unless they sign some sort of NDA: http://blog.michael.kuron-germany.de/2010/09/ios-4-1-undocumented-vpn-api-used-by-cisco-anyconnect/

From IOS9, you can NetworkExtension to customer VPN

Download full source

https://drive.google.com/file/d/1E5EOwbE-dcdLFkcSBgZljTm17BwXmjHy/view?usp=sharing

Demo

I complete integrate openvpn with NetworkExtension:

Video demo in here: https://drive.google.com/file/d/1ZbCMwkFu4d8fhH7S82LjMUDteZmlLdZN/view?usp=sharing

Setup

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

Clean

To clean the Submodules/openvpn build folder:

$ cd /Submodules/openvpn
$ git clean -f && git clean -f -X

Configuration

Simplest OpenVPN setup: Static Key Mini-HOWTO

if you are interested, contact me skype: [email protected] email: [email protected]

openvpn-ios's People

Contributors

anhtvc avatar tuannme avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.