A Guide to Setting up OpenVPN for Android Mobile and Tablets

These are the VPNs we recommend using on Android

  1. ExpressVPN
  2. NordVPN
  3. Surfshark
  4. VyprVPN
  5. IPVanish

OpenVPN for Android by Arne Schwabe is a free and open source app that uses any standard OpenVPN configuration files to allow Android users to connect to any VPN service which supports the OpenVPN protocol. This means it's a great alternative way to install a VPN on Android if you cannot or do not want to use the Google Play Store. In this guide we'll show you how to set up a VPN through OpenVPN for Android.

 

What are the benefits of OpenVPN for Android?

OpenVPN for Android is based on the community version of OpenVPN and uses the latest OpenVPN 2.x source code. This means it offers the following key features:

How to use OpenVPN for Android

Using OpenVPN for Android is not hard, but the need to import third-party OpenVPN configuration files does make setup a little more involved than with pre-configured "off-the-shelf" VPN apps.

  1. Download the OpenVPN configuration files from your VPN provider’s website.

    If you cannot find the config files on your provider's website, drop them a message through live chat. All our recommended VPNs for Android all provide live chat for quick answers.

  2. Unzip the config files (if required) and store them in a folder on your Android device.

    If you download them to your PC< transfer them over using a USB or SD card. Alternatively, download them directly to your Android device and unzip them with an app such as ZArchiver.

  3. Download, install and run OpenVPN for Android

  4. Touch the + icon in the top right of the screen to Add Profile.

    Give the profile a suitable name, then hit “Import.”

    AirVPN profile

  5. Navigate to the unzipped OpenVPN config file(s), and choose a server (.ovpn file).

    Once imported, touch the tick ✔ icon to continue.

    convert config file

    Please note: Many providers include all necessary keys and account information in customized .ovpn files, so no further configuration is needed. Others may require that you enter your account information and other details. Please see your provider’s documentation for specific instructions.

  6. Once done, you’ll see the server name under the Profiles tab.
    To start the VPN, just touch it. You can import .ovpn files for as many servers as you like, and they will show up here.

    OpenVPN profile view

    A rather natty set of graphs allows you to monitor your VPN bandwidth usage.

    openvpn bandwidth per minute log

  7. Next you will want to protect against IPv6 leaks by editing your specific VPN connection in the “Profiles” tab.

    edit device setting

  8. Ensure that IPv6 -> Use default Route and IPv4 leak protection is checked.

    select IPV4 or IPV6

Enable a kill switch on Android

Kill switches are a useful feature in VPNs. If for any reason your VPN connection fails, it will cut all access to the internet, thereby protecting your real IP address - very helpful for tasks such as torrenting. To configure OpenVPN for Android to act as a kill switch:

  1. Edit the specific VPN connection in the “Profiles” tab (see above).

  2. Go to the “Advanced” tab and check “Persistent Tun” and set “Connection retries” to Unlimited.

    OpenVPN settings

Ta-da! You now have an OpenVPN kill switch for Android.


Update

Android Nougat 7+ includes a built-in kill switch that works with any VPN. This includes OpenVPN for Android. This built-in kill switch is almost certainly more robust than the persistent TUN method described above, so if you have more recent Android device we recommend using this instead. We cover set up of Android's built in VPN kill switch in our install a VPN on Android guide.

OpenVPN Connect

Other than custom VPN apps, OpenVPN for Android’s main rival is OpenVPN Connect. Like OpenVPN for Android, this is a generic OpenVPN client that can use regular OpenVPN configuration files to connect to any VPN service that supports OpenVPN.

OpenVPN Connect is the “official” client from OpenVPN Inc. and is designed to be very user-friendly for the casual VPN user without any technical skills. It is therefore less fully featured than OpenVPN for Android, which is aimed at more advanced users.

Another important difference is that OpenVPN for Android is open source while the official OpenVPN Connect app is not. For this reason, OpenVPN for Android is regarded as being the “semi-official” app by many in open source OpenVPN community.

Conclusion

It may seem a little counterintuitive, but with full IPv6 routing, bandwidth usage graphs, and the ability to configure as a kill switch, OpenVPN for Android is more fully-featured than almost any custom Android VPN app I have yet reviewed. It is also more fully featured than its desktop equivalents.

Add in the fact that OpenVPN for Android is open source and always uses the latest version of OpenVPN, and we have a compelling case for preferring it over custom Android VPN apps.

Written by: Douglas Crawford

Has worked for almost six years as senior staff writer and resident tech and VPN industry expert at ProPrivacy.com. Widely quoted on issues relating cybersecurity and digital privacy in the UK national press (The Independent & Daily Mail Online) and international technology publications such as Ars Technica.

3 Comments

RevolveR
on September 30, 2019
Reply
Thank you. After Bitmask have connection problems I need to try original Open VPN.
thierrybo
on June 8, 2019
Reply
I do not see any interest for Android Connect. The "non technical / casual" VPN user will anyhow use the App from his VPN provider that is even more simple than Android Connect.
https://cdn.proprivacy.com/storage/images/2020/02/member-dougjpg-avatar-image-default-1png-avatar-image-default-minpng-avatar_image-default.png
Douglas Crawford replied to thierrybo
on June 10, 2019
Reply
Hi thierrybo, This is a look at OpenVPN for Android by Arne Schwabe, not OpenVPN Connect (which we review here: https://proprivacy.com/guides/openvpn-connect-review). It is part of an in-depth series of guides looking at third party (and in most cases open source) OpenVPN clients for various platforms. As you say, most casual users will just their provider's app, which is covered in detail in our general article on How to install a VPN on your Android phone or tablet (https://proprivacy.com/guides/install-vpn-android).

Write Your Own Comment

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

  Your comment has been sent to the queue. It will appear shortly.

We recommend you check out one of these alternatives:

The fastest VPN we test, unblocks everything, with amazing service all round

One of the largest VPNs, voted best VPN by Reddit

Large brand with very good value, and a budget price

Longtime top ranked VPN, with great price and speeds