• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

openvpn on Android? G1?

I've seen some tantalizing indications that folks have actually gotten an openvpn client up and running on the Android platform. See for example: http://g1.fnord.to/crypto/

I'm curious if such a thing is possible without root access and if anyone else has gotten it working. Specifically, on a "standard" (i.e., "rootless") Tmobile G1?

I'm pretty excited that we already have a very functional native ssh client... openvpn would just be icing on the (cup)cake :)
 
No, openvpn cannot be run without root access. The reason for this is that openvpn requires a kernel module (tun.ko) to be loaded in order to create the tunnel interface.

I currently use openvpn on my phone, and wouldn't be able to live without it. If this is something that is important to you, rooting is really not that difficult, gives you a bunch of features/options, and allows YOU to control YOUR phone (for better or worse). And it's reversible.
 
Upvote 0
No, openvpn cannot be run without root access. The reason for this is that openvpn requires a kernel module (tun.ko) to be loaded in order to create the tunnel interface.

I currently use openvpn on my phone, and wouldn't be able to live without it. If this is something that is important to you, rooting is really not that difficult, gives you a bunch of features/options, and allows YOU to control YOUR phone (for better or worse). And it's reversible.

Hi Cyberbob25,

How did you root your phone and how did you install openvpn? I am a newbie.

Thanks,

Clayton
 
Upvote 0
http://wiki.cyanogenmod.com/index.php/Main_Page

Openvpn is included in the newer versions of the cyanogen mods.

Cyberbob25,

Thank you very much! The installation instructions were straightforward and easy to follow.

You indicated that OpenVPN is included in the newer versions of the cyanogen mods. How do I get to OpenVPN? There is an option to add a VPN which lists the following VPNs - PPTP, L2TP, L2TP/IPSec PSK, and L2TP/IPSec CRT. But I don't see OpenVPN.

Thanks,

Clayton
 
Upvote 0
Cyberbob25,

Thank you very much! The installation instructions were straightforward and easy to follow.

You indicated that OpenVPN is included in the newer versions of the cyanogen mods. How do I get to OpenVPN? There is an option to add a VPN which lists the following VPNs - PPTP, L2TP, L2TP/IPSec PSK, and L2TP/IPSec CRT. But I don't see OpenVPN.

Thanks,

Clayton

Hi Cyberbob25,

Cancel my question above about OpenVPN. I discovered that it is a command line option by accessing it through the Xterm window and then typing openvpn at the command line.

Thank you again for directing me to Cyanogen's site!

Clayton
 
Upvote 0
The setup is the same on all devices as far as openvpn config files are concerned.
The openvpn app installs the binary and openvpn settings lets you start it and edit config files, select certificates, etc.

You need to follow instructions for creating certificates, etc.
You can get directions at openvpn.org and download openvpn for your computer.

The problem is finding a tun driver for your kernel if it does not have one in /system/lib/modules


I am running gingerbread on my incredible and the openvpn binary is there. What I am looking for is where to put the certificates, names and locations so they can be selected by the built in vpn utility.
 
Upvote 0
The problem is finding a tun driver for your kernel if it does not have one in /system/lib/modules

AND that, my friends, is a real problem if you have a VM Samsung Intercept.. I've found several tun.ko packages that the posters *claim* works on a Samsung Froyo Intercept.. But alas, when trying to insmod any of these modules, dmesg says ARMv7, needs ARMv6. Most of the reason I bought this phone/service was to allow me to vpn into several networks I manage without looking for a starbucks/mcdees wifi.

LVDave
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones