How To Install OpenVPN On Android

First need rooted your device to install busybox, OpenVPN installer

You need properly configured TUN driver, OpenVPN will connect to the VPN but you will not be able to actually use. Driver file tun.ko will vary depending on your phone and kernel. The correct tun.ko can only be provided by the person/group who provided you your Android kernel, need tun.ko on /system/lib/modules

Next:
Install busybox
Install OpenVPN on directory /system/xbin, or /system/xbin/bb

Open terminal:

#su

#mkdir -p /system/xbin/bb

#ln -sfn /system/xbin/ifconfig /system/xbin/bb/ifconfig

#ln -sfn /system/xbin/route /system/xbin/bb/route

#mkdir /sdcard/openvpn

Start OpenVPN Settings and enable OpenVPN

Next load tun kernel mode check
tun modules setting > insmod > /system/lib/modules/tun.ko
copy file config, ca, crt, keys, di /sdcard/openvpn/
open openvpn setting and check all

If OpenVPN not connecting please check:

1. tun.ko (check enable tun.ko)

#cat /dev/tun

"invalid length" or "file descriptor in bad state" is tun.ko enable

2. Ifconfig & route
3. Check openvpn running

Open terminal:

#cd /sdcard/openvpn

#openvpn namaconf.ovpn

[url="http://www.facebook.com/groups/droidcamp/"] [b]Source[/b][/url]

  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
  • How To Install OpenVPN On Android
January 9th, 2012 Android 0 Comments
   

No Comment to “How To Install OpenVPN On Android”

  1. No Comment yet. Be the first to comment...

Leave your comment here:

You must be logged in to post a comment.

  • Archives