OpenVPN on Android
Monday, September 13th, 2010I have really enjoyed having a VPN so that I could remote into work. The other day though, I had to skip out on fishing because we had some computer issues and I didn’t have my laptop. It made me think, wouldn’t it be sweet if I could just use my super duper android phone to VPN into work. This is what I did. First off, an assumtion is made that you have a rooted device.
What you need is to have both busybox, and the tunnel device kernel driver, tun.ko. I am running Cyanogenmod 6 which has busybox already installed. For some reason this version of Cyanogenmod doesn’t have the tun.ko, and ones that I downloaded would not insert into the kernel. So, I installed a ChevyNO1 kernel that comes with the tun.ko driver, and we are to the races on that part. This may sound intimidating, but ROM Manager from the market makes this very easy.
Next thing to just make life easy is to install OpenVPN Installer and OpenVPN settings. They are in the market, go ahead, download it them. I will wait. OpenVPN Installer gives you the option to install all the openvpn stuff. Go ahead and run that. Unfortunately, at the time of this writing, openvpn won’t work still. The problem is a bug in the shipped OpenVPN binary noted here: http://code.google.com/p/android-openvpn-settings/issues/detail?id=26 . There is a link to get the OpenVPN binary that would work.
Once you have that use the OpenVPN Settings to establish connections. It will ask where your key files are and once it knows that and your server, you are up and going. Now I can really get to work wherever I am. Wait a second, maybe I don’t want to do that …

