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] VPN for Samsung GT-S5360 aka Galaxy Y (Young)

NOVEMBER 07 2011

NOTE: Nag-upgrade ng system ang globe recently, please change lport inside configs.


Requirements (Kailangan para magkaVPN):

1. Patience. Learn to read carefully to reap the benefits later.

2. "Rooted" Android Phone.

otkb9c.png


Wag po magtanong dito kung paano mag-root at kung para saan ito. Pag hindi nyo pa po alam kung para saan ito. Mag- GOOGLE po muna bago magpatuloy.

May dalawang paraan ng pag-root as of posting isa itong thread na ito: http://www.symbianize.com/showthread.php?p=8271305

3. Root explorer - apk or application para ma-access ang pinaka-ROOT folder ng isang rooted android phone. Pwede masira phone pag di ka marunong gumamit nito. Kaya be careful with this.

4. Openvpn installer (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) but since as of posting wala pang mod for our phone dont worry about this....

5. Openvpn settings - Ito gagamitin sa pagconnect sa vpn later.

6. Terminal Emulator - parang ms-dos prompt ito ng windows.

7. Busybox - also called "The Swiss Army Knife of Embedded Linux" is a tool which brings into Android basic tools known from unix system, but is much more smaller than standard tools is.

8. VPN Config Files - later mag-aattach ako ng example config file. Thanks to sir Balbasero may SYMB threads for this. Example thread ng REALVPN for android: Paki-click po ito at idownload ang config

9. tun.ko para sa kernel natin as of posting (kernel 2.6.35.7) Pakidwonload po ito at ilagay sa root ng sdcard ninyo
16i61hi.png


10. Samsung Galaxy Y (Syempre)

11. Globobo or Smarty sim card.

IMPORTANT:Yung nasa 3-7 ay mga installer na naka attach sa thread ni sir cmangalos. Pakidownload lang po.
http://www.symbianize.com/showthread.php?t=358236


Procedure for ROOTED Phones:
(Basically the same sa thread ni sir cmangalos may konting dagdag bawas lang)

0a. Pakilagay na po lahat ng required files (referring to #3-7 above) sa SDcard para ma-install natin later...

0b. Install Root Explorer muna bago ang lahat... :D

0c. Using Root Explorer create new folder on your sdcard, name it openvpn (/sdcard/openvpn/)


1. Install BUSYBOX. Overwrite the old one. (May busybox na kasi yan pag ginamit yung tutorial ko sa pag root.)

dapat nandito yang busybox FILE


2. Locate and Install "openvpn installer" using Root Explorer.

Eto sya pag nainstall:

-After installing, run it. Then install the binaries included in it:
35mp2dg.png

click install > install > /system/xbin/ > /system/xbin/bb
using root explorer check this directory if the installation is successful:

/system/xbin/openvpn <- dapat nandyan yang file (Inuulit ko po your just looking for a FILE not folder) na yan.

3. install openvpn settings... run it
21dke2g.png


go to option > advanced >
jb4m54.png

check load tun kernel module
set path to openvpn binary: /system/xbin/openvpn
2inhi.png

go to tun module setting > load module using > insmod
set path to tun module: /sdcard/tun.ko
10epsb5.png


4. Open root explorer

a. Navigate to folder /system/xbin/
b. Press Mount R/W (meaning Read/Write)
2ik5s0g.png

c. Scroll and look for the file OPENVPN --> Long press openvpn and choose Permissions
d. Put a check on the following:

User: Read + Write + Execute
Group: Read + Execute
Others: Read + Execute
wcjsy8.png


e. Press Menu and Create a new folder. Name it: bb (system/xbin/bb/)

5. Install terminal emulator. Kung di makapaginput ng kahit anong character, click Menu>preferences> Keyboard Input Method> Select Word-based Pwede nyo din palitan ibang settings like font size kung naliliitan kayo sa font.

a. Kung ang busybox ay nasa /system/xbin/busybox


TYPE:


Take note that ln is actually leters LN and not IN...type all the teminal emulator commands in lower case and follow the spacing required.
Note: Do not include $ and # character when typing command in terminal emulator.

6. Go back to Root Explorer, navigate to /system/xbin and Mount as R/O
7. Place your config files on the Openvpn Folder that you created earlier. These will be used to connect to your VPN

NOTE Config files can be found here at symb forum you just have to search for it... Personally Im using RealVPN located in this thread
Real VPN for Android by 89dufpoqidjv customized by balbasero

Ito lang mga importanteng tatandaan nyo sa tamang paglagay ng config files:
a. ovpn ang file extention nya. Example: UDP realvpn.ovpn
b. lagay nyo sa /sdcard/openvpn folder ang ovpn files nyo at iba pang kasama nito e.g. pass.txt or realvpn.crt etc
c. Take note of the directories of different config files meaning minsan kasi may file inside another folder.
d. OPTIONAL: If you open the ovpn files(right-click open with notepad or other text editors) may makikita kayo for example:



^para ma-locate yan ng vpn application sa android, edit nyo ng ganito:



i hope you get what i mean kasi importante po iyan.

Pwede naman po kayo gumamit ng ibang config. Madami pang iba dito sa symb forum nagkalat hehe.

Here are sample configs that I use to connect Kebrum VPN


TRY This if no vpn is working for you
[FREE VPN for ANDROID]-RaptorVPN, denVPN, iPrivo, Hotsplots, sKISS, LH compilation ni batibot1234... thanks sir

8. If all is ok, Let's proceed to connecting our vpn (Make sure yung Data Network mode ay naka-activate see below on how to activate it). Open ninyo yung OPENVPN Settings na application. Makikita nyo may mga check box dun.
attachment.php


Tick those to activate your VPN and select your vpn...

Now why is Patience required, medyo hindi po kasi one touch connect ito madalas po several retries bago makakonek based on my experience. Pero once connected ok na yan. Saka I'm sure you'll get a hang of it sooner or later pag madalas nyo na siya nagamit.



TIPS and SOME TROUBLESHOOTING GUIDES:


1. How to activate/deactivate Data Network Mode(GSM or WCDMA) Long-Press Power button, May lalabas na Phone options> Activate Data Network mode.
- Another way is trough settings>wireless and networks>mobile networks> Check Use packet Data.

- Network mode is either GSM/WCDMA (Auto Mode), GSM Only, or WCDMA Only. Your choice depends on your area.

2. Make sure deactivated yung Flight Mode.

3. For Connection sequence please refer here: Credits to sir JJFOXPH



For extra reference... PLEASE READ THIS THREAD CAREFULLY

http://www.symbianize.com/showthread.php?t=358236

CREDITS to CMANGALOS for the VPN tutorial para sa android laking tulong sa akin yan sa pagawa ng tutorial na ito....


may bayad po ba yung root explorer pag dinownload?? wala bang free? first timer lang ako dito thanks..
 
sino dito nag kaproblem sa vpn after update to DXLA1. connected but can't browse na....
 
Bakit kahit anong gawin ko, di ko mapa-connect kahit anong vpn configs.. Lagi na lang wait.. :(

Anong VPN ba muna gamit mo? Yung Real VPN unstable as of the moment... lagi ding waiting sa akin. Ginamit ko configs ng RaptorVPN.. Ayun Bilis ng browsing



may bayad po ba yung root explorer pag dinownload?? wala bang free? first timer lang ako dito thanks..

Wala pong bayad lahat ng gagamitin mong software para sa pag set up ng vpn sa sgy mo... Free po ang root explorer sa market

mga sir.. pde ba to sa sim na TM?

Sa pagkakaalam ko hindi., Butas na sim ng globe, smart, talk and text lang ang known na working dito. Tinry ko TM to make sure but it's not working.


sino dito nag kaproblem sa vpn after update to DXLA1. connected but can't browse na....

Wala po ako naging problema.... Still alive and kicking po ang vpn kahit DXLA1 na gamit ko.
 
@port kung hindi pa rin yung sa pm ko.nagawa mo na ba ang sa terminal emulator.after nyan dapat magkakaroon ka ng ifconfig at route sa system/xbin/bb folder.
 
hi tanung lang panu ba magpaste ng configuration sa sd?
yun nalang kulang ko....:pray:


any help will do.

salamat:excited::excited:
 
ts pahelp po pleeaasee .
baket saken yung terminal emulator di parin nakakainput kahit nagfollow ako dito na method "Menu>preferences> Keyboard Input Method> Select Word-based" please po pahelp malapit na sana ako dito lang nahinto .. :help: :help: :help:
 
ts,, linux config error pag coconect ako openvpn.
may problema kasi sa emulator.. pag type ko ung busybox /system/xbin/bb/
applet not found anu ba prob netoh?
 
paano butasin,ang sim?

mag load ka lng ng 21-23 petot then surf ka bsta hinde lng lalagpas ng 15 min.tapos end mo ung Explorer by click menu then Register ka Mb15 then Connect your DroidVpn na nka set dapat sa UDP port:9201 at Bind Port:52 at dapat ung setting ng ip mo ay may dalawa like eto 923.22.515 hinde po dapat eto 923.231.515... enjoy lng surfing at download at wait mo matapos ang promo and thats it butas na po ung sim mo... sana nakaka tulog :clap:
 
bakit ganun? naintall ko na yung openvpn installer tama naman procedures pero bkt di lumalabas yung */system/xbin/openvpn* pa help naman.

thanks
 
mejo naiintindihan ko na ... unti na lang... ma-iinstall ko na to sa galaxy y ko.. :)
 
maraming salamat dito... ang bilis po sakin.... hihihihihihi
 
TANONG LANG... KASI AYAW NG MAG CONNECT VPN SA GALAXY YOUNG ko...

3g Signal = OK
Battery = FULL
VPN Config = OK NAMAN... Gumagana xa dati.. 2 days na ngayon ayaw mag connect..

MAY BAGONG BANG SETTINGS SI SMARTY????
 
Back
Top Bottom