HideMyAss VPN

Friday, May 17, 2013

How to Setup OpenVPN for Android App

In this tutorial you'll learn how to configure the app "OpenVPN for Android" (openvpnforandroid0.5.7_29.apk).
It will easily allow you to connect to the HMA VPN server via OpenVPN protocol - TCP and UDP.
This is working on all Android versions and no root privileges are required!

(If you don't like this connection method, check out our articles FeatVPN and OpenVPN Connect)

There are 2 method to import the *.ovpn config files into the VPN application:
a) via Dropbox app - by importing the config file folders into your own Dropbox, and then importing to the VPN application from there
b) manually, by downloading the config files onto your SDcard, extracting them and importing to the VPN application
Both are explained below.


a) Importing config files via Dropbox
On your Android device, browse here:
http://tinyurl.com/hmavpnconfigs
You can there import the config folders into
your own Dropbox account by clicking on the 
It's required to have the Dropbox app installed.
Now you can open the Dropbox app and navigate
to where you've downloaded the config files.
Tap on one of the config files you'd like to import.
You'll get asked what you want to do with this file.
Select "Import OpenVPN configuration" and
"Always".














                                                                                The OpenVPN for Android app will now appear,
please resume the tutorial here:




b) Importing config files manually
Install the app and run it.
You'll see the main menu below.
For now the list is empty, of course.
Tap the folder/import button:
Navigate to the folder where you extracted the
config files before.
Select the config file of the server you'd like to
connect to.
In this example we will use:
USA.New.Jersey.Newark_LOC1S1.ovpn
Select this config file and then tap "Select".

Confirm importing of the config file
The following confirmation window will appear.
Tap the save button:
The config file has been imported.
In case the app closed, restart it.
We still need to change some settings now.
Tap the settings button:
Tap "Basic".
     

You can change the name if you want.
But important here is just to fill in your
username and password.


Scroll down, you'll see the
username and password field.






















Enter your HMA account username and password,
the same ones that you use to login @
http://vpn.hidemyass.com
 
















Go back to the menu;
(your changes will be saved automatically)
Select "Routing".

     


In this routing settings, check
"IPV4: Use default Route", to make sure that all
traffic will be sent via VPN.
 











Go back to the menu again.
Now select "Advanced".



































Here, uncheck
"Enable Custom Options".
Otherwise the app will be confused by
some settings of the config files.
































Go back to the "All your precious VPNs" list.
Tap the "imported profile"
(or whatever you named it)
It will start to connect.






   
Lot of log info. When it show's the first
transferred KiBs, then you're almost there.





Once it shows
"CONNECTED,SUCCESS,10.x.x.x"
then you're successfully connected to the VPN.




























You can verify your IP now e.g. @
http://ipaddress.com or http://tracemyip.org
to make sure that the VPN is working.
Open the status bar, you'll see the apps
notification widget. Tap it to access its menu.























Here you can disconnect or change settings
of the VPN connection, and also check
duration of and bandwidth used by
the connection.
   

No comments:

Post a Comment