Android OpenVPN setup + StrongVPN
Here are my example how to get OpenVPN working on Android based device
OpenVPN working only on rooted devices and Android 2.1+
1) First of all we need install BusyBox from Android Market, OpenVPN will not work without it.
Once installed from Android Market you need run BusyBox installation and continue

2) I had BusyBox installed so just upgraded to 1.18.4 build
Important:
- BusyBox should say “Your phone is rooted”
- need install BusyBox to /system/xbin/ as in my tutorial, it will NOT work properly when installed elsewhere

3) Upgrade will take some time and finally DONE

4) Now we need install OpenVPN Installer and OpenVPN Settings from Android Market
again need run OpenVPN Installer application to continue

5) I recommend install OpenVPN to /system/xbin as in my example

6) Create a folder called openvpn on the sdcard.
Resulting Android path will be /sdcard/openvpn/
(NOTE! Android is case-sensitive. Do NOT use CAPS or lower case)

7) Start OpenVPN Settings and enable OpenVPN

All done! You should now be able to connect to the VPN

Common problems
- You need properly configured TUN driver, OpenVPN will connect to the VPN but you will not be able to actually use. Driver file tun.ko will vary depending on your phone and kernel. The correct tun.ko can only be provided by the person/group who provided you your Android kernel
- You can load tun.ko manually from settings
- If OpenVPN not connecting try check box “Load tun kernel module” this will load TUN driver before OpenVPN


Got as far as step 5, would not install on my rooted Coby Kyros in the xbin directory, but it did in the bin directory. So far so good, sort of. Used IO file manager to create the openvpn directory on the sdcard. At this point how do I get the files into that directory, and where do they come from? You just show the files there.
Thanks.
need files from VPN provider. I used files from StrongVPN service
I’m the VPN provider. I’m connecting (or at least attempting to connect) to my DD-WRT loaded VPN router (PPTP).
this example for OpenVPN connection directly to server
Thanks, its usefully
I don’t understand the SD card part, after I install the openvpn installer and install it to system/xbin then I create the directory on SD card called openvpn but nothing is in that folder, where are the config files and such needed.
You need to copy a config files from your OpenVPN client on Windows (for example) to this directory. From this folder:(assuming default install) C:\Program Files (x86)\OpenVPN\config
okay. I am new to android and openvpn so i have a dumb question. I tried downloading busybox and it failed. I am assuming it’s because it didn’t go to the proper directory. “/system/xbin/”.
How do I get it to do that?
Step 6: Where do i need to go to create the create the sd/card file at?
Hello. Good instructions. I have a question though. After you setup OpenVPN, is your traffic forced into the tunnel? I noticed that in my case, it is not. When I browse, it does not go through VPN, but through the local connection.
Unfortunately, the Fix HTC Routes option does not help either. Any thoughts about how to solve this issue?
I’m having this same problem. Is it a wrong tun.ko module? Any ideas?
need log from connection please
In my case the program does not work.
Opnevpn connection is established but any routes are added into routing table. So
I am not able to go trhough the tunnel…
had the same problem. take a look here http://code.google.com/p/android-openvpn-installer/issues/detail?id=2 , post 34 worked for me.
Now i have other problem – ip-address assigned, route table is fine, but no pings or data going through the tunnel (.
please provide log from OpenVPN connection
I am stuck at instruction#6, I do not have OI file manager but do have file manager. When I open file manager, to system, to xbin; I do not see any file as openvpn.I need assistance to configure properly. please help.
I m getting successfully connected but not able to browse any solution
Thanks for the tutorial.. I have stock 2.2 rom from manufacturer. I’m not able to find a working tun.ko driver for my device. Custom roms are nt yet out.. Is there any other solution?
Nice guide, thanks. I had been stuck with openvpn on android for ages. I knew that my problem was related to the tun driver but your instructions were the first that I have found that mention the ability of openvpn settings to load the tun driver from the advanced menu. Everywhere else I have looked online they all say “go off and find a tun driver” or something of that nature.
Just like to add that if you using openvpn web interface to login via PC, just login to that and download “Yourself (autologin profile)” to /sdcard/openvpn/ , this will give you an auto login profile for your VPN. Very fast connection
If worried about security you can use the non auto profile or even the server locked profile if you need to use different login details for any reason?
For the record, I use a SGS2 9100 and this guide worked beautifully
g’day,
I managed to do download, and install the two programs. I placed my files in “openvpn” on the sd card. I can see all of my possible servers, then I try to connect and then am asked for my user id and password which I give, but it remains stuck on “connecting” and never actually connects.
I’m not sure what to do next. Yes, I am using the correct id and pass. I’m not familiar with the technical jargon, so I need responses for a dummy.
cheers
Your guide is very helpful and it is easy because there are screenshots, thank you to make it but I have a problem when I try to start OpenVPN, I have the message “Linux ifconfig failed, could not execute external program”.
I have a Samsung Galaxy S2+Litening_Rom_v6-1.
GbMax78
Yeah. same case with me, I do not have this OI file manager. It also says there “No Configurations Found” under OpenVPN configurations. What could I possibly do to make use of this OpenVPN?
Thanks for a very detailed tutorial. I finally managed to get openvpn working on my android phone.
I hope you can also create a tutorial about this vpn called DroidVPN .
Tried it on my phone but its not working. Hope you can help me. Thank you