Initial Commit

Listen, Learn.

Use OpenVPN on Galaxy Nexus

Posted at — Jan 5, 2012

I recently got a Galaxy Nexus to play with. What I hate is Android doesn’t provide native proxy support, or OpenVPN support, because I’m in China.

First step: Root the device

I followed the instruction on

Next: Install openvpn

Run it

Now it’ll be fine to run OpenVPN by OpenVPN Settings. Just copy OpenVPN configuration files into /mnt/sdcard/openvpn and run it in OpenVPN Settings.

The problem I met

Update: OpenVPN Installer 0.2.4 fixed the problem by providing the option with openvpn using /system/xbin/ifconfig and /system/xbin/route

At the beginning, I tried to connect using OpenVPN Settings but failed, but from logs by adb mixed with system logs, I couldn’t find useful information. I didn’t find the tun.ko on the device, and I searched and viewed a ton of pages and found nothing.

Though from TUN.ko Installer I saw Tun module is loaded, and Path to tun.ko is not found!, I thought there was some problem with the software that showing inconsistent information. I gave a last try to DroidVPN, and I succeeded to connect!

Before that, I even downloaded the source and was ready to compile tun.ko myself. The lesson is to try every possible way, a problem can be caused by any possible reason.