- Messages
- 1,101
- Reaction score
- 14
- Points
- 128
![openvpn-android-feature.png](/proxy.php?image=http%3A%2F%2Fcrushbeercrushcode.org%2Fblog%2Fwp-content%2Fuploads%2F2013%2F04%2Fopenvpn-android-feature.png&hash=8d480570a06abb44b8a4693ddfccc24f)
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 :
![316353_163632333803467_844784018_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-g.ak.fbcdn.net%2Fhphotos-ak-frc1%2F316353_163632333803467_844784018_n.jpg&hash=9decb3ea3c4c5ee3bd89541b51638f44)
Step 1b :
After configuring, click install and hit smart install.
![947308_163632373803463_1692368753_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-f.ak.fbcdn.net%2Fhphotos-ak-ash3%2F947308_163632373803463_1692368753_n.jpg&hash=0f17f6f19049bfce69b9569823f2b0c3)
![945115_163632293803471_652537258_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-d.ak.fbcdn.net%2Fhphotos-ak-ash3%2F945115_163632293803471_652537258_n.jpg&hash=f54b934ef8b7983df40e619ffc39ec36)
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 :
![168818_163632253803475_896328048_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-a.ak.fbcdn.net%2Fhphotos-ak-snc6%2F168818_163632253803475_896328048_n.jpg&hash=ca26006a3f74af365d3d7a37fd5e6918)
![923341_163632280470139_1944608229_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-f.ak.fbcdn.net%2Fhphotos-ak-ash3%2F923341_163632280470139_1944608229_n.jpg&hash=9dc06b1bd4edbda7925e7e8d4a402826)
![229746_163632267136807_1714669396_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-g.ak.fbcdn.net%2Fhphotos-ak-frc1%2F229746_163632267136807_1714669396_n.jpg&hash=5fba538c01962a3e0d26de337dadfb11)
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.
![295442_163632353803465_537090526_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-a.ak.fbcdn.net%2Fhphotos-ak-frc1%2F295442_163632353803465_537090526_n.jpg&hash=e1f2cad6e9d5d7591a00cc3c28544657)
Step 3d :
Connect. Done.
![9358_163632423803458_2064867445_n.jpg](/proxy.php?image=http%3A%2F%2Fsphotos-b.ak.fbcdn.net%2Fhphotos-ak-prn1%2F9358_163632423803458_2064867445_n.jpg&hash=3e059d9533573cb99e72334c8227e1cc)
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 ?
![Smile :) :)](/images/smilies/smile.gif)
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.
![Hats Off :hat: :hat:](/images/smilies/new/honored.gif)
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: