Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

[tut] Setup OpenVPN on Android [busybox method]

w33haaa

Symbianize Elder
Veteran Member
Messages
1,101
Reaction score
14
Points
128
openvpn-android-feature.png


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



Step 1b :
After configuring, click install and hit smart install.

947308_163632373803463_1692368753_n.jpg



945115_163632293803471_652537258_n.jpg




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



923341_163632280470139_1944608229_n.jpg



229746_163632267136807_1714669396_n.jpg



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



Step 3d :
Connect. Done.

9358_163632423803458_2064867445_n.jpg




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.


:hat:



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:
openvpn ho ito ser, it doesn't matter naman kung globe or smart or sun basta may data connection gagana yan.
 
wat workig config m sa smart? isali mo nalang dito para masubukan agad. thanks for tut.
 
boss saan ak mkakakuha ng vpn configuration, certificate and .txt file, pacensya na noob ako sa openvpn sa android masyado ako ng ely sa droid eh sa free server nlang sila ngpapapasok mdyo phirapan comonect...
 
wat workig config m sa smart? isali mo nalang dito para masubukan agad. thanks for tut.

boss saan ak mkakakuha ng vpn configuration, certificate and .txt file, pacensya na noob ako sa openvpn sa android masyado ako ng ely sa droid eh sa free server nlang sila ngpapapasok mdyo phirapan comonect...


punta nalang po kayo sa vpn and anti-censorship section ng symbianize ser, any vpn will do. :hat:


thanks diyo ts :salute:

welcome ser :hat:
 
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.


:hat:
 
otor,working sakin kaya di makakonek hanggang auth lng then reconnect uli,tanong lng,need pa ba ng tun.ko?
 
Last edited:
wLLZidA.png


Hyperion 8 - ROM ko.
Galaxy Y user po.
Any help? :pray:

Paano kaya mag Enable ng Data Connection?
Super newbie po eh.
 
Last edited:
well maaring hindi ito gumana dahil walang tun.ko.
sa mga Sgy and flare user di natalaga kailangan ng tun.ko kaya gumana
kung hindi gumana magdownload lang ng tun.ko installer.
 
http://i.imgur.com/wLLZidA.png

Hyperion 8 - ROM ko.
Galaxy Y user po.
Any help? :pray:

Paano kaya mag Enable ng Data Connection?
Super newbie po eh.


Try installing different version ser, about enabling data connection, click nyo lang po yung icon katabi ng wifi.



otor,working sakin kaya di makakonek hanggang auth lng then reconnect uli,tanong lng,need pa ba ng tun.ko?


Ser, pls refer to this regarding on config troubleshooting.
ilagay nyo po yung username and password na lang po siguro along with the config. check below.


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 :



*permanently delete this line this will make conflict in ur device, your device won't understand this line, therefore would failed initialization completely.


:hat:
 
ganon pa rin,mahina ata ang signal ngayon,dun q nilagay ung username at password sa password.txt
 
ang hirap naman paganahin nito ang daming kelangan, sa dami ng naglalabasang easy free internet di na ideal ito.
thanks na rin sa pagshare.
 
Back
Top Bottom