Configuring your Android device for ÉlanVPN

The following instructions apply to Android devices, running version 4.0 (ICS, aka Ice Cream Sandwich) or later.


I. Installing the Client Software

First, you need to obtain the latest OpenVPN client built for your system. An Android port of OpenVPN 2.3 can be obtained here.

There is a link at the top of this page which always points to the latest stable release, normally found here:
http://plaisthos.de/android/ics-openvpn-latest-stable.apk

Either download this APK installer directly onto your device, or download it onto your computer and then transfer it to your device, e.g. via wifi or using a USB connection.

Simply run the installer to install the app on your device. You may need to allow installation of apps downloaded from the internet. If you wish, you can run the security validator on it during installation (it will pass).

NOTE: please do NOT attempt to use the "OpenVPN Connect" client found in the Google Play store. This client does not support the "fragment" configuration directive, which is required for use with our VPN. Consequently, although it may connect (by ignoring the fragment pragma), it will not work properly.



II. Installing the ElanVPN Max Configuration

We deliver a your account credentials to you in the form of a .zip file. This ZIP contains a directory structure supplying VPN configurations and associated files for each supported platform. After unzipping the file, navigate to the ./android subdirectory. The files there which are important are:

ElanVPN-Max.ovpn
this is the configuration file for use with our Max network
README
contains your login credentials, along with a text version of the instructions on this page

Copy the file ElanVPN-Max.ovpn to your Android device. We suggest saving it in a separate directory folder such as ./openvpn. (You do not need to copy the README file, unless you want to refer to it to look up your login Id and password.)

Start up the OpenVPN for Android application. Tap the folder download icon on the top line (next to the plus icon).

Navgiate to where you stored the ElanVPN-Max.ovpn config file, and tap on it.

The import operation will probably warn you about some unsupported configuration options, but then doesn't list any that actually failed. This is normal.

Configuring -

Next, you need to set a few manual configuration options. To do this, on the Profiles tab click on the icon to the right of "ElanVPN-Max," which looks like a writing tool. This brings up a page called "Editing ElanVPN-Max." Scroll the menu rightward to examine the various tab headings.

On the "IP and DNS" tab, make sure that you have "Pull Settings" set to ON.

On the "Routing" tab, make sure that:

  1. You do NOT check the box for "Ignore pushed routes."
  2. Under IPv4, you have "Use default Route" checked.
  3. Under IPv6, you have "Use default Route" checked.
These settings insure that all of your traffic passes over the VPN connection when you're connected.

On the "Allowed Apps" tab, you should scroll through the list and find any apps installed on your phone where you would NOT want the VPN to be used. For example, you might not want things like Weather, Uber/Lyft, Maps, or other location-sensitive apps to try to determine your location from your IP address, which will not correlate with your location while you're connected to ElanVPN. Or you might want to avoid the VPN for streaming apps like Prime Video, Hulu, or YouTube, for reasons of speed. Or a driver for a local printer, which is found only on your LAN. The default is to use the VPN (when connected) for all apps.

The rest of the defaults should be okay.

On the generic app settings (Settings tab from start page), you might want to uncheck both the boxes for "Reconnect on network change" and "Pause VPN connection after screen off," in order to prevent being disconnected whenever your phone is idle.

Connecting -

To connect to the ElanVPN-Max network, simply tap the ElanVPN-Max name under the Profile list. You will see a log file displayed. Upon a successful connection, the last log entry will look like this:
(timestamp): Initialization Sequence Completed

You are now ready to log in with your credentials. Unfortunately, on Android devices this needs to be done manually. This is because there is no native scripting language on the Android platform. On computers and laptops, our automated login scripts will authenticate you automatically after you connect to our VPN. On Android, please follow the steps in the next section.

To disconnect from the OpenVPN connection, grab the key icon at the top of your screen and scroll it down. Select the "VPN is activated by OpenVPN" icon and select the Disconnect button at the bottom on the left. This will return you to the logfile display, which should now end with:
(timestamp): SIGINT[hard,] received, process exiting



III. Authentication

As soon as you attempt to surf to a website, you will automatically be redirected to a page which indicates that you must log in first. Alternatively, you can simply point your browser at this URL on purpose:
https://www.elanvpn.net/auth/login.php

Either way you will see a simple bumper page indicating that you must log in. (The font might be small on this page; if so simply zoom in to read it.) There will be a "Click Here" link to take you to the login page. Tap it.

If you cannot access this page, please check your internet connection and confirm that your VPN connection is active. Our site is the one domain you can surf to on the VPN without being properly logged in, in order that you can view our help and contact pages. A successful access of our login page will redirect you to a customized login page, with a name like this:

https://www.elanvpn.net/auth/login_form-3pFKkwvWewbVLrPNiwtB6EY2rnG8EjMGzdTyzQtfS9wk.php

(this URL is purely an example; this page does not exist)

This page asks you for your Max Id and Password. These are found at the top of your README file. Enter them and click the Login button.

If your login is successful, you will see a text page indicating this, below a very large URL, which you need to visit in order to complete your login. Either paste the URL into your browser, or use the handy "Click here" link provided just below it. You should then see a line of text which says, "Connection authenticated, please continue surfing." If so, you are good to go!

If the login fails for any reason, you will be shown an error page explaining the problem.

For further details, please see our VPN Guide.