PDA

View Full Version : OpenVPN in Iphone


schenke
October 5th, 2007, 04:37 PM
Does anybody try to install OpenVPN server in i-phone. That will be very cool to have a VPN server running in i-phone, then we can bridge WiFi and Edge network together.

schenke
October 7th, 2007, 09:20 AM
Can we install it?

marcolz
October 15th, 2008, 03:01 AM
Since I couldn't find it, I compiled it myself on the iPhone with toolchain-2.0 and put it up in a Cydia repository.

See http://www.stack.nl/~marcolz/Cydia/ for more information.

The trouble is still the tap/tun driver though, so it's probably of limited use at the moment.

rdmitry
November 13th, 2008, 02:06 PM
Take a look at

http://article.gmane.org/gmane.netwo...vpn.user/23442

Seems to be a good approach

Dmitry

marcolz
November 14th, 2008, 08:01 AM
Take a look at

http://article.gmane.org/gmane.netwo...vpn.user/23442

Seems to be a good approach

Dmitry

The URL is broken, should be: http://article.gmane.org/gmane.network.openvpn.user/23442

But yes, that is a possibility. I'd rather see Apple shipping tun functionality in their release though ;-)

blubbel
August 3rd, 2009, 01:07 PM
Check this out: tunemu - Tun device emulation for Darwin (http://code.gerade.org/tunemu/)

joee
September 8th, 2009, 07:02 AM
Checked !! downloaded, compiled and ... Works !!

Works fine in a pretty basic mode, the tunemu device is working correctry ( we have now a support for /dev/tun !!), so we can establish a simple tunnel in p2p and clear mode.
I'm still stuck with the ssl and cryto support : compiling goes fine, but when testing ( with --test-crypto ... ), we always get a bus error. I suspect that the sdk 's ssl libs and headers or openssl0.9.8 released by saurik are broken or openvpn sources aren't ok with them.

Any suggestions ?

sellyanes
October 23rd, 2009, 03:30 AM
hi there...

As of the latest iPhone OS release (3.0) this is not possible. I am unsure if someone could create an 'all in one' client that connects to OpenVPN and then allows you to browse the web from within the same app. But certainly any app that connected to OpenVPN could not then be put into the background allowing you to use the built in Mobile Safari or Mobile Mail over the VPN.

rdmitry
October 24th, 2009, 02:14 AM
hi there...

As of the latest iPhone OS release (3.0) this is not possible. I am unsure if someone could create an 'all in one' client that connects to OpenVPN and then allows you to browse the web from within the same app. But certainly any app that connected to OpenVPN could not then be put into the background allowing you to use the built in Mobile Safari or Mobile Mail over the VPN.

I tried this: http://code.gerade.org/tunemu/openvpn-iphone.zip and it works fine on OS 3.0 with all features including encryption.

BR, Dmitry

midnightshow22
October 30th, 2009, 12:45 PM
I tried this: http://code.gerade.org/tunemu/openvpn-iphone.zip and it works fine on OS 3.0 with all features including encryption.

BR, Dmitry

I don't trust zip files, can you give me a link to the site you got this from?

rdmitry
October 31st, 2009, 06:58 AM
I don't trust zip files, can you give me a link to the site you got this from?

http://code.gerade.org/tunemu/

This is exactly where I got it

Regards, Dmitry

sam_the_ram
November 13th, 2009, 11:37 AM
Here is openvpn for iphone, with GUI and all. Not perfect, there are still some bugs
out there... but hey that is life!
Check out http://www.iopenpvn.com

regards,
Sam_the_ram

sam_the_ram
November 13th, 2009, 11:38 AM
oops it should be http://www/iopenvpn.com

regards,
Sam_the_ram

sam_the_ram
November 13th, 2009, 06:04 PM
Wrong again
It should be http://www.iopenvpn.com

netman71
December 3rd, 2009, 10:46 AM
hello,

has there someone a guidance and how to implement this open-vpn file

thx

sam_the_ram
December 5th, 2009, 04:39 AM
Thanks for the post. There was a dependency on a software which is since not to be found at the same location in Cydia and it was giving a problem during installation. A temporary workaround has been resorted to now, so things should install and run smoothly now.

Here are the instructions: (They are also available at http://www.iopenvpn.com)

Requirements : jailbroken iPhone/ipod touch OS 2.x
Currently OS 3.x is not supported, but should have support before the end of the year
hopefully.

First go to http://www.iopenvpn.com and sign up. The userid is your email.

Then, using your iphone, please go to Cydia, and then Manage, Sources. Then Edit sources then Add and then add the following url under Add Source.
http://www.iopenvpn.com/cydia/
The source should appear under Entered by Users.
Then, repeat the above process for
http://www.iphone.org.hk/apt/
The first one is the iOpenvpn app. while the second one is a software called DNS fix which is used to set DNS when iopenvpn is connected with the iphone connected via carrier. This software is a dependency and will get automatically installed while installing iopenvpn.

Again go to Cydia, Manage, Sources, click on www.iopenvpn.com and install. After installation, an iOpenvpn icon should appear on your iphone/ipod touch Home screen.

Click on it to start, and follow the instructions. Note the userid to be entered is the one
you signed up with.


Couple of points : due to the DNS being used is opendns, the DNS resolution is a bit slow. That is being changed. There is no auto. script currently to change the DNS in iphone. So, you will be asked to change the DNS manually to opendns.


In case of any issues, please email info@iopenvpn.com

HTH.

sam_the_ram

cs123
January 31st, 2010, 02:45 AM
I was able to get it working with SBSettings Toggle + some tweaks. Step-by-Step instructions can be seen here: http://chandraonline.net/blog/?p=22