Install OpenVPN On Android

No comment 6087 views

Here are my example how to get OpenVPN working on Android based device!


  1. For Root users only
  2. Need install BusyBox from Android Market, OpenVPN will not work without it.
  3. Download   Open VPN Installer
  4. Download  Open VPN Setting
  5. Need tun.ko For your android tap driver (/system/lib/modules)
    Some Custom ROM has preloaded tun.ko

Installation Procedure :

  1. Install BusyBox
    BusyBox should say “Your phone is rooted
    Need install BusyBox to /system/xbin/
  2. Open Terminal emulator :
    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
  3. Install Open VPN Installer
  4. Install and Open OpenVPN Setting > Advance
    • Check load tun kernel mode
    • TUN Module Setting :
      Load module Setting : Insmod
      Path to tun module : /system/lib/modules/tun.ko
    • Path to configurations : /sdcard/openvpn
    • path to openvpn binary : /system/xbin/openvpn
    • Fix DNS

  5. Copy file config, ca, crt, keys, in /sdcard/openvpn/
  6. 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
    /system/xbin/bb/ifconfig pdp0
  3. Check OpenVPN running
    Open terminal and type:
    cd /sdcard/openvpn
    openvpn nameconf.ovpn
Incoming search terms:
    openvpn installer apk , openvpn android apk , ovpn apk , tun ko installer v1 2 apk , tun ko installer v1 2 , descargar openvpn para android apk , open VPN pro apk
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Tumblr0Share on StumbleUpon0Share on LinkedIn0