Requirements:
1. Rooted Phone
2. TUN.KO for your device
3. Openvpn and other Program APKS
4. Openvpn Configs
5. Working APN installed
1. Root Your Phone - I don't go the basics here since iba iba ang method
ng pag root ng android devices. Check google kung paano ma root ang
phone nyo. kung naka Custom ROM ka na probably rooted na phone mo so you
may skip this part.
2. Download these neccessary files:
a. TUN.KO
~check this thread by Hhubs for tun.ko on your device: http://symbianize.com/showthread.php?t=394260
~if your using custom roms probably may tun.ko na yan. you can check it in /system/lib/modules using root explorer
~or use tun.ko installer found in the market (requires internet connection credits: droidvpn)
b. Openvpn Installer: http://www.mediafire.com/?6fche05qbkwa664
c. Openvpn Settings: http://www.mediafire.com/?h9ibpdvo4dasb3d
d. Busybox: http://www.mediafire.com/?z39dbollm2co6mx
e. Root Explorer: http://www.mediafire.com/download.php?715vcujqjneejb7
f. Openvpn Configs: http://www.mediafire.com/download.php?gz5381t5vvp2f71 ~ pass noobiez updated 6/25/12
3. Transfer the apks and configs to your phone via bluetooth or usb
cable. Create a folder named "openvpn" in your sdcard directory and
paste the .ovpn configs, account.txt, ca.crt and tun.ko.
4. Install Openvpn Installer, Openvpn Settings, Busybox(custom roms has busybox installed already), Root Explorer.
~Do not install Busybox if you are using custom roms and Openvpn Installer if you are running Cyanogen-Based Roms
5. Open Root Explorer go to: /system/xbin >> mount as R/W (click the upper right button Mount R/W)
6. Open Busybox: Install >> /system/xbin/busybox(custom roms has already busybox installed)
7. Open OpenVPN Installer: click install >> install >> /system/xbin/ >> /system/xbin/bb/ifconfig
8. Open OpenVPN Settings:
a. Click Menu >> Advanced >> check load tun kernel module.
b. Tun Module Settings >> Load Module using >> insmod
c. Path to tun module: /sdcard/openvpn/tun.ko (or /sdcard/tun.ko (if
using tun.ko installer) or /system/lib/modules/tun.ko or
/lib/modules/tun.ko if your tun.ko is located in system folder)
d. path to configurations: /sdcard/openvpn
10. Open Root Explorer
go to: /system/xbin >> mount as R/0 (click the upperright button Mount R/O)
11. Setup your account: using File explorer go to /sdcard/openvpn/account.txt input nyo ang username followed by password.
12. Pwede ka na komonek - Enable data connection then open OpenVPN
Settings >> click OpenVPN button >> pili ka ng server then
click. if successfully connected.
Congrats!
Troubleshooting:
1. Cannot alocate tun/tap dev dynamically - tun.ko is not found or is incompatible with your device/kernel
2. Openvpn settings cannot connect (server cant be checked) - there are
issues with openvpn installer and busybox - fix by installing openvpn
installer to /system/xbin/busybox/ifconfig
or reinstall the right busybox version for your device/rom ~common
problem using custom and cyanogen mod roms (do not install busybox if
you are using custom roms with busybox already installed. and do not
install busybox and openvpn installer on CM based roms)