Android phone is capable of running openvpn if and only if it was rooted. All vpn configs can be ran unless the vpn is not using the public/universal tap driver. Below are the steps on how to setup or install openvpn with your desired configs.
Requirements:
1. Root your phone.Warning!!! Rooting your device voids warranty.
- Only available for Froyo and Gingerbread Firmwares Stock ROM and any other Custom ROM.
- If not rooted, visit Rooting/Unrooting Android.
2. Download OpenVPN Installer
- No need if your Custom ROM has preloaded openvpn installer.
3. Dowload Busybox
- No need if your Custom ROM has preloaded busybox
4. Download OpenVPN Settings | Link 2
- For running openvpn config.
5. Download Root Explorer (For exploring root files)
6. Download Terminal Emulator or Better Terminal Emulator
- For running scripts
7. Tun.ko (For your android tap driver)
- Some Custom ROM has preloaded tun.ko
- Email me prynxx003@rocketmail.com if you don't have tun.ko for your device.
Installation Procedure: Please follow step by step to avoid errors.
1. Move all above apps in your sdcard so we can easily find it.
2. Install Root Explorer.
3. Open Root Explorer and go to /sdcard and find the apps you downloaded.
4. Tap on Busybox app and install it.
- open it.
- install busybox files at /system/xbin/ directory
- exit/close Busybox
5. Tap Openvpn Installer app and install.
- open it.
- click install -- install -- /system/xbin/ -- /system/xbin/bb
- exit/close Openvpn Installer.
6. Tap Openvpn Settings and install.
- go to option -- advanced
- mark check load tun kernel module
- set path to openvpn binary: /system/xbin/openvpn
- go to tun module setting -- load module using -- insmod
- set path to tun module: /sdcard/openvpn/tun.ko
- exit/close Openvpn Settings.
7. Navigate to folder /system/xbin/
- Mount folder as R/W (tap the button at the top right corner of the Root Explorer)
- Look for the file OPENVPN
- Long press openvpn and choose Permissions
- Put a check on the following:
User: Read + Write + Execute
Group: Read + Execute
Others: Read + Execute
- Press Menu and Create a New folder. Name it: bb (appears like /system/xbin/bb/)
8. Go back to /sdcard, tap Terminal Emulator and install.
- type:
su
busybox ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/xbin/busybox /system/xbin/bb/route
- exit/close Terminal Emulator
9. Navigate to /system/xbin and Mount as R/O (top right corner of Root Explorer)
- exit/close Root Explorer.
10. Go to "My Files" create a folder named "openvpn" w/o the quotes and place your config files there including tun.ko.
11. Done.
Addintional Info: If your OpenVPN config needs username and password authentication.
1. go to /sdcard/openvpn/ and create a file "anynamepass.txt"
3. enter username and password in anynamepass.txt, like this.
username
password
4. then save.
5. edit config file, look for auth-user-pass line.
6. add /sdcard/openvpn/anynamepass.txt, and the line should look like this:
"auth-user-pass /sdcard/openvpn/anynamepass.txt" w/out quotes.
Connecting:
1. Activate Packet Data (You should see 3G, E, G or H beside signal status)
- Check other Gsm Frequency Bands or Network Modes
2. Open OpenVPN Settings
3. Mark Check Openvpn to activate.
4. Choose Openvpn config and wait till it says connected.
- connection sequence.
Resolving -- Wait -- Auth -- Get Config -- Assigning IP -- Connected to IP as VPN IP
To know more about openvpn and on how to configurate, visit OpenVPN.net
For more information regarding the used applications here, visit Android Market
0 comments:
Post a Comment