- Messages
- 1,101
- Reaction score
- 14
- Points
- 128
A Concise guide on how to setup OPENVPN for Android.
[SUB](written by: Ashliah16)[/SUB]
Requirements :
- Phone must be rooted.
- Busybox
- OpenVPN Installer (app)
- OpenVPN Settings (app)
- Data Connection Enabled
Why openvpn?
OpenVPN supports hundredths and thousandths of configuration, and used by many VPN Service provided worldwide.
It is open-source, it's easy-to-use and it's FREE!
To the tutorial :
Step 0 :
Root your phone, if you do not know how google it.
Step 1 :
Download and Install Busybox app from Google Playstore.
After installation, run the app and install busybox.
Settings must be the same with the screenshot :
Step 1b :
After configuring, click install and hit smart install.
Step 1c :
Once busybox was installed, reboot ur phone.
Step 2 :
Download and Install OpenVPN Installer and OpenVPN Settings app.
Step 2b :
Once installed, open OpenVPN Installer and hit install and you'll
see something like this :
Step 2c :
Select system/xbin on the dialog then select system/xbin/busybox/ifconfig (recommended)
See Above.
Step 2d :
Once Installed, exit the app.
Step 3 :
Create a new folder in /Sdcard, name it OpenVPN.. (/sdcard/OpenVPN)
Step 3b :
Port a vpn configuration, certificate and .txt file which contains your
account information (based on many vpn configuration) from your VPN provider.
and paste them all to /sdcard/OpenVPN
Step 3c :
Open the OpenVPN Settings app then "longpress" on the configuration you want
to connect then hit preferences, then Script Security Level -> Built-in + Scripts (passwords).
Save changes.
Step 3d :
Connect. Done.
Troubleshooting and FAQ :
Q: I can't connect, no internet connection found.
A:
- Check if data connection is enabled.
- Check signal, make sure there is an E or H indicated on the signal bar.
Q: I can't connect, openvpn related error.
A:
- Check your config, make sure you do exactly as i wrote.
- Edit your config, remove any lines related to PC-based configuration. (lines with .exe or .bat on it.)
Q: I can't connect, port-related error.
A:
Know your ports. For Smart, open ports are always 53 and 9201.
For globe, try 127, 67 and 68.
Q: Connected, but no browse.
A:
- Check ur signal strength,
- Again check port compatibility.
Q: I'm a newbie, where can i buy or register for VPN service?
A:
There are many vpn service providers out there.
I would recommend :
PeoplesVPN : http://peoplesvpn.com (with free servers, unlimited usage.)
FirstbloodVPN : http://fbvpn.info (30php = 30 days premium, 2 day trial.)
Any questions? problems still persists? let me know.
Kindly hit thanks for appreciation ?
Config Troubleshooting :
For example purpose only, this config won't work.
Code:
client
dev tun
proto udp
remote 69.97.137.2 [COLOR="lime"]80[/COLOR]
keepalive 10 120
resolv-retry infinite
redirect-gateway def1
tun-mtu 1500
tun-mtu-extra 32
comp-lzo
mute 1
mute-replay-warnings
ping-timer-rem
float
lport 53
mssfix 1450
persist-key
persist-tun
[COLOR="blue"]ca ca/ca.crt[/COLOR]
route-method exe
auth-user-pass [COLOR="yellow"]password.txt[/COLOR]
reneg-sec 0
verb 1
script-security 2 system
route-delay 2
[s][COLOR="red"]up flush-dns.bat[/COLOR][/s]
*Change port according to your ip compatibility.
*This is optional, if you want to put the certificate inside the config instead of putting it in the same folder, delete this line.
*again, optional. password.txt can be changed depending on your choice, you can put ur user name and password directly here, example :
auth-user-pass username password
*permanently delete this line this will make conflict in ur device, your device won't understand this line, therefore would failed initialization completely.
Notice : This tutorial was made based on a personal experiment of mine, any similarities to other post on other forum are purely coincidental.
Made this tutorial when i downloaded the busybox for other reason and thought of it's capabilities, might actually work on android based on linux-scripting and programing.
(meron daw e.)
I did not copy this from other site so i won't put credits but to myself. sry.
All screenshots are also provided by me.
Last edited: