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: OPENVPN for android

SE live with walkman wt19i
SMART
2.6.32.9-perf buildusers@buildhost#1, 4.0.4
tsl - error, security script 2.
TsunamiVPN


:help::help::help::help:
 

Attachments

  • Screenshot_2012-08-29-22-26-40.png
    Screenshot_2012-08-29-22-26-40.png
    54.1 KB · Views: 6
d pla sk2 pgka screenshot q bsta mg eerrol talaga..tsl error dw..sa log file nmn dpat dw my nka install na security script 2 o higher pa..help nmn po..
 
SE live with walkman wt19i
SMART
2.6.32.9-perf buildusers@buildhost#1, 4.0.4
tsl - error, security script 2.
TsunamiVPN


:help::help::help::help:

make sure po na latest configs ng tsunami ang gamit mo, and before you use it, "win sys env" command in the config should be removed and then saved it (open with notepad the .ovpn file to check if it has).

now if gamit mo na po latest configs and the same problem still persists, now you need the assistance of tsunamivpn and tell them about your concern dahil una po sa lahat tls-error most of the time is a config related problem, maliban na lamang po kung mahina po ang packet data signal dyan sa area mo.
 
make sure po na latest configs ng tsunami ang gamit mo, and before you use it, "win sys env" command in the config should be removed and then saved it (open with notepad the .ovpn file to check if it has).

now if gamit mo na po latest configs and the same problem still persists, now you need the assistance of tsunamivpn and tell them about your concern dahil una po sa lahat tls-error most of the time is a config related problem, maliban na lamang po kung mahina po ang packet data signal dyan sa area mo.

cge try q po ang inyong suggestion..feedback later!
 
master.help poh..newbie po ako .
my cp is:
samsung galaxy mini gt-s5570
network: tnt smart
android version: 2.2.1
baseband version: s5570JXKA2
kernel version: 2.6.32.9-perf root@se-s508#1
build number: froyo.JPKA3
rooted na po ang phone ko.
nasunod ko po yung tut.mo na for rooted phone w/ stock rom or w/o stock rom...
hindi ko po alam kng w/ or w/o stock rom ba ang phone ko..new user po ako ng gt-s5570 samung phone..
my na download akng config.file d2 sa site.yung andoid vpn.zip.na extract ko ang laman ng .zip sa openvpn folder ng sdcard ko.ang laman nya ay smarty udp 1- 9 at globo udp 1- 9...at pagka open ko ng openvpn settings.yung smarty udp ang ikinoconnect ko..my nkalagay na wait..maya2x my mag aapear na..reconnecting cause of tls error..tpos mg wait na nman..master kng hindi ko nkaka disturbo sa iyo..help nman po at tut kng anu pa ang kailangan kng gawin...thanks in advance..


Bossing marunong ka ba mag root same tau sg mini
paano mo na root ung sg mo
pahinge tut naman
takot kasi ako magkalikot
 
mam trini, natry mo na po ba mag tether using openvpn?

kung oo, ano pong app ang ginamit nyo pang tether?

:thanks:
 
Bossing marunong ka ba mag root same tau sg mini
paano mo na root ung sg mo
pahinge tut naman
takot kasi ako magkalikot
lipat po kayo sa Samsung section at meron po official thread doon for Samsung Galaxy Mini. pakihanap na lang po at naroon po ang kasagutan sa tanong ninyo. good luck po.
hi guys!!what po ba ang working openvpn for smart ngayon??wla kc ako mapagana eh!!help aman!
maghanap po kayo ng working config sa VPN section o kaya naman sa Buy & Sell section kung premium configs naman po
mam trini, natry mo na po ba mag tether using openvpn?

kung oo, ano pong app ang ginamit nyo pang tether?

:thanks:
any wireless tether app works perfectly on a rooted phone with a working openvpn installed. :)
penge namn po ng working nyo na config file,,
punta po kayo sa vpn section. doon po kayo maghanap.
hindi po ako makapagtype sa emulator ko....
pls help....
try to powercycle your phone at try mo po uli gamitin ang terminal emulator.
 
mam trini pwede po hingi ng link nung working config? sinubukan ko na yung iba d naman gumagana, kahit yung gamit kong config sa vpn sa laptap d gumagana e. palagi may lumalabas na password and username input, e dito sa pc e wala naman lumalabas na ganung prompt..
 
mam trini pwede po hingi ng link nung working config? sinubukan ko na yung iba d naman gumagana, kahit yung gamit kong config sa vpn sa laptap d gumagana e. palagi may lumalabas na password and username input, e dito sa pc e wala naman lumalabas na ganung prompt..

check mo po ang thread ng firstbloodvpn sa vpn section kung paano po magkaroon ng account at sya po gamiitin mo sa android phone mo. good luck po
 
hirap haha pagwa nlng ng vid ser hehe..aprob ty ts

kung nagawa po ng iba, im sure magagawa mo rin po. kailangan lang po basahin at intindihing mabuti ang tutorial ni TS. good luck po.:)
 
Ginawa ko nang BOLD at CENTERED itong message ko para hindi na paulit-ulit.

1.) Sa mga nagtatanong kung "GAGANA BA ITO SA XXXXXX ANDROID PHONE KO?"
Ang sagot ay "OPO, BASTA KUMPLETO NIYO YUNG REQUIREMENTS AT MAGAWA NG TAMA YUNG INSTRUCTIONS"
Ang tutorial na ito ay para sa LAHAT ng android phones na may kakayahang sumagap ng signal ng Mobile Network

2.) Ang primary concern / objective ng thread na ito ay para ma-install ng maayos at mapagana ang OPENVPN application.
Hindi ito ang tamang lugar upang magtanong kung paano mag root o mag install ng custom rom.
Kung kailangan niyo ng tulong sa nasabing bagay, basahin niyo yung index ng mga thread dito. -> http://www.symbianize.com/showpost.php?p=7391128&postcount=1
Kung wala sa listahan ang device ninyo, nandiyan naman si pareng Google or pumunta sa Mobile Phones, Smartphones & PDA at hanapin ang manufacturer ng inyong phone at doon magtanong.

3.) Kung may problema sa installation o kung hindi niyo mapagana yung openvpn, PAKIUSAP NAMAN... sundin niyo yung tamang paraan ng pagreport ng problema para ma-troubleshoot ng maayos. Nakalagay naman dito yung instructions kung paano mag post ng REQUEST TO TROUBLESHOOT.

4.) Pag napagana niyo na yung openvpn niyo, sana naman huwag kayo mag-hit and run. Sana tulungan niyo rin yung ibang members natin para mag work din yung openvpn nila. Tayo-tayo lang naman magtutulungan dito e.

---- HHubs ---

Kung may errors man sa installation, please refer to this thread for tips:
http://www.symbianize.com/showthread.php?t=566128
credits to jjfoxph



Hi guys,
I made this discussion for the people na nagppm sakin on how to make openvpn work.
Please limit the discussions to OPENVPN application troubleshooting and tips.
If you have hardware / device specific concerns, kindly post them on the proper thread.

What is OPENVPN:


The main purpose of openvpn is to hide your real ip from the outside world by building and encrypting a private tunnel connection to a vpn server which acts like your proxy. You can have free internet by having a backdoor connection to your netwrok provider which bypasses its firewall/accounting server - jefbuan
The good thing about openvpn is hindi lang browsing, you can stream youtube videos, download from the market, use facebook, twitter, tapaltalk, games like pocket legends, zenonia, zynga poker, and any apps and games that need internet connection.

First of all, credits go to westicegirl, jefbuan and HHUBS ( for page revision)

Requirements for all:
Check the end of this post for the attached files.​
  1. Rooted android phone
    1.1) Optional: Install a custom rom and/or custom kernel with pre-loaded tun.ko (I recommend cyanogenmod 6 and up)​
  2. root explorer (kindly use the latest version. older versions have mount/remount problems when used on newer devices)
  3. openvpn settings
  4. openvpn installer
    Warning: DO NOT DOWNLOAD/INSTALL OPENVPN INSTALLER if you're using the official CyanogenMod custom ROM or any ROMs based on CyanogenMod. This will cause Openvpn to malfunction
    Read the details of any ROM that you are installing on your device to find out whether it's based on CM or not​
  5. terminal emulator
  6. busybox
    Reminder: Custom ROMs usually have busybox pre-installed.​
  7. config file (airvpn,poknatvpn, mango vpn, puknut vpn)
    Reminder: Proceed to VPN& Anti-Censhorship Tools or Buy & Sell Section and ask for a config file for their VPN.
    Config files must be placed here -> sdcard/openvpn/
  8. tun.ko (this file is device and kernel specific. You cannot use a tun.ko that is NOT compiled for your device.)
    Reminder:
    You can check the Tun.ko repository thread if we have one for your unit.
    Kung wala, ask GOOGLE. Kung wala pa rin, ask your 3rd party developer. Kung wala talaga, balik kayo sa Tun.ko thread and ask nicely. May instructions dun. :D )​

APN Settings
Globe - http.globe.com.ph ( you should have maximum of 4 peso load)
smart - internet ( you should have at least 1 pero load to activate 3g/hsdpa, maximum load of 9 pesos )
sun - minternet (openvpn not yet working with sun, i'll try to collaborate with jefbuan to see if it's possible)​

Reminder:
  • No Port, No Proxy
  • Higher loads than the rates required above will automatically be consumed by the provider

FOR TROUBLESHOOTING, please include the following on your post

1.) unit / model
2.) network
3.) phone modifications (name of custom kernel/rom, Android OS version)
4.) error details
5.) VPN client
6.) i-attach ang log ng openvpn -> /sdcard/openvpn/log.ovpn (or kung ano man ang extension ng log)


Instructions

For CyanogenMod ROMs and CM-based ROMs ONLY

  1. install openvpn settings
  2. go to sd card, and create a folder name it: openvpn
  3. place the config files in the openvpn folder
  4. open the openvpn application then choose Preferences
  5. choose insmod --> tun --> then locate tun.ko ( /lib/modules/tun.ko)
  6. tap the config file and wait for it to connect
    connection sequence:
    unknown => wait => auth => get config => add routes => 123.123.123.1 connected as 10.8.2.1 (ex. ip)
    Reminder: you should get an ip value for "connected as". you won't be able to connect to the internet if the value is blank.

For Rooted phones with STOCK ROM or Rooted phones with NON-CM CUSTOM ROM
credits to wargodz009 for this tutorial. Click HERE for the original post
(Originally made for Optimus 1 users but it might work for other phones as well)

1) root your phone
2) install openvpn installer and the binaries..
  • run openvpn installer using root explorer or install from market
  • click install > install > /system/xbin/ > /system/xbin/bb
  • check this directory if the installation is successful:
    /system/xbin/openvpn <- dapat nandyan yang file na yan​
***if you get the error "binaries not installed", install busybox first and redo #2.***
***if the binary installation is successful, skip #3***

3) install busybox (this should already be installed IF you're using a custom rom)
  • check this directory if the installation is successful:
    /system/xbin/busybox <- dapat nandyan yang file na yan​
4th) install openvpn settings
  • go to option > advanced >
  • 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:
    ---if your custom rom comes with a pre-installed tun.ko --> /lib/modules/tun.ko
    ---if you've downloaded a separate tun.ko, you can place it on your sdcard. make sure to set the correct path​
5th) open root explorer
-Navigate to folder /system/xbin/
-Mount folder as R/W (there is a button you can click at the top right of the Root explorer UI)
-Scroll and 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 (system/xbin/bb/)​
IF this does not work or you prefer to use terminal emulator, use this:
---make sure the busybox is located at /system/xbin/busybox before you proceed
---make sure that you allow superuser permissions after typing su
---SKIP STEPS 5,6 and 7 IF you choose to use the terminal emulator method


6) open terminal emulator and type:
  • --edit "pag ang busybox ay nasa /system/bin/busybox"
su
busybox ln -s /system/bin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/bin/busybox /system/xbin/bb/route​
  • --edit "may ibang rom na ang busybox ay nasa xbin eto ang irun nyo"
su
busybox ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/xbin/busybox /system/xbin/bb/route​
7) go back to Root Explorer, navigate to /system/xbin and Mount as R/O
8) on your sdcard create a folder named "openvpn" w/o the quotes and place your config files there.

For Xperia x10, x10 mini/pro, x8 phones

http://www.symbianize.com/showthread.php?t=356433 by leofrester
http://www.symbianize.com/showthread.php?t=390108 by alamatnitotoy (needs more feedback)

Poknat Config File click me
you need to have premium account, of this config files are not updated anymore, please visit buy and sell section or the web and internet section.

Optional Stuff

For auto connect

1. go to /sdcard/openvpn/
2. create a file name pass.txt
3. place username and password on pass.tct should look like this

username
password

4. then save.
5. edit config file, look for auth-user-pass line
6. type /sdcard/openvpn/pass.txt, the line should look like this auth-user-pass /sdcard/openvpn/pass.txt

OPENVPN + WIFI TETHERING APPLICATION = FREE WALKING WIFI SPOT

1. Download wifi tethering apps in market
2. Connect openvpn
3. Start wifi tethering application
4. some devices like psp, ds cannot connect, but ipod, itouch and laptops can

OPENVPN + NATIVE WIFI TETHERING (for froyo 2.2 only) = FREE WALKING WIFI SPOT

1. connect openvpn
2. go to terminal emulator
3. type SU
4. type /system/bin/iptables -t nat -A POSTROUTING -s 192.168.43.0/24 -o tun0 -j MASQUERADE
5. now you can connect you PSP, NINTENDO ds, PS3

Route-up script (optional)

For scripting, para every time na gusto niyo gamitin yung native wifi at ayaw niyo mag type pa ng kung ano-ano sa terminal emulator, follow this:

using terminal, type:
$su
#nano /sdcard/openvpn/up.sh
#!/bin/bash
/system/bin/iptables -t nat -A POSTROUTING -s 192.168.43.0/24 -o tun0 -j MASQUERADE
#chmod 777 /sdcard/openvpn/up.sh

edit ovpn file sa vpn at add sa line
route-up /sdcard/openvpn/up.sh

-------------------------------------------------------------------------------------------------

Now, if you guys experience any problem, just post it here and i will try to help you.
If i am missing some information, just tell me and i will update the thread.
If I made a wrong tutorial just raise it up ok?
I hope i helped you get free internet especially for ANDROID.

Things to do: native openvpn for android capable phones


AND LASTLY IF YOU LIKE MY TUTORIAL, KINDLY LIKE MY GIRLFRIEND'S FANPAGE HERE IS THE LINK :toast: :lol:
=======================================
GALAXY MINI SSS5570

GLOBE
(D KO PO ALAM KUNNG CYANOGENMOD PHONE KO P HELP NMAN PO DUN) GINGER BREAD

-ETO PO MGA ERROR



7.config file (airvpn,poknatvpn, mango vpn, puknut vpn)
panu po to gawin OR san to makikita?


6) open terminal emulator and type:

--edit "pag ang busybox ay nasa /system/bin/busybox"

su
busybox ln -s /system/bin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/bin/busybox /system/xbin/bb/route

--edit "may ibang rom na ang busybox ay nasa xbin eto ang irun nyo"

su
busybox ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/xbin/busybox /system/xbin/bb/route
(pag nagtype ako --edit)==>sinasabi access denied

TNX PO SANA M HELP NYO PO AKO
 
Back
Top Bottom