We review vendors based on rigorous testing and research but also take into account your feedback and our affiliate commission with providers. Some providers are owned by our parent company.
Learn more
vpnMentor was established in 2014 to review VPN services and cover privacy-related stories. Today, our team of hundreds of cybersecurity researchers, writers, and editors continues to help readers fight for their online freedom in partnership with Kape Technologies PLC, which also owns the following products: ExpressVPN, CyberGhost, and Private Internet Access which may be ranked and reviewed on this website. The reviews published on vpnMentor are believed to be accurate as of the date of each article, and written according to our strict reviewing standards that prioritize professional and honest examination of the reviewer, taking into account the technical capabilities and qualities of the product together with its commercial value for users. The rankings and reviews we publish may also take into consideration the common ownership mentioned above, and affiliate commissions we earn for purchases through links on our website. We do not review all VPN providers and information is believed to be accurate as of the date of each article.
Advertising Disclosure

vpnMentor was established in 2014 to review VPN services and cover privacy-related stories. Today, our team of hundreds of cybersecurity researchers, writers, and editors continues to help readers fight for their online freedom in partnership with Kape Technologies PLC, which also owns the following products: ExpressVPN, CyberGhost, and Private Internet Access which may be ranked and reviewed on this website. The reviews published on vpnMentor are believed to be accurate as of the date of each article, and written according to our strict reviewing standards that prioritize professional and honest examination of the reviewer, taking into account the technical capabilities and qualities of the product together with its commercial value for users. The rankings and reviews we publish may also take into consideration the common ownership mentioned above, and affiliate commissions we earn for purchases through links on our website. We do not review all VPN providers and information is believed to be accurate as of the date of each article.

How to Set Up OpenVPN on Any Computer or Phone in 2024

Kristina Perunicic Updated on 14th December 2023 Managing Editor

OpenVPN is widely regarded as the most secure VPN protocol, and for that reason, most premium VPNs use OpenVPN by default.

However, while native apps from providers like ExpressVPN and CyberGhost will securely connect you to their server networks via OpenVPN automatically, there are reasons why you might want to set up your OpenVPN connection yourself.

You might be running an older operating system that does not support the native apps, for example, but still want to securely access the robust server network offered by a premium VPN provider.

Or you might just want the satisfying feeling of taking control of your own internet security and anonymity.

Whatever your reason for manually configuring OpenVPN on your mobile device or computer, we’ve got you covered with detailed setup guides below.

We should offer a disclaimer, however: While manually setting up your VPN connection can offer a great deal of geeky fun – and might be necessary if your operating system isn’t supported – premium VPN services strongly recommend using their native OpenVPN apps for the best security and privacy protection.

Best VPNs with Native OpenVPN Apps for Your Device

Before we get into manual configuration options, here's a quick look at a few top VPN services that give you OpenVPN's security the easy way. By using native clients from one of these providers, you can get all the security of OpenVPN with no manual setup required!

1. ExpressVPN

Editors' Note: Expressvpn and this site are in the same ownership group.

Native ExpressVPN apps use the OpenVPN protocol by default and will choose the most secure settings for your connection automatically. However, you can choose other protocols within the app or via manual installation if you prefer.

ExpressVPN uses military-grade encryption with AES, doesn’t keep user logs, and offers a 30-day money-back guarantee for new users. It’s also the fastest premium VPN we’ve tested.

ExpressVPN Offer April 2024: For a limited time only, you can get an ExpressVPN subscription for up to 49% off! Don't miss out!

2. CyberGhost

Editors' Note: Cyberghost Vpn and this site are in the same ownership group.

Native CyberGhost apps are supported by most operating systems and devices, and use the OpenVPN protocol by default. You can protect up to 7 devices with one subscription, too.

CyberGhost uses military-grade 256-bit encryption technology, adheres to a strict no-log policy, and offers more than 11,690 servers worldwide. New users can test out the service with the 45-day money-back guarantee, though most of this VPN’s happy users stick with it long term.

April 2024 Deal: CyberGhost is currently offering 84% off its most popular plan! Take advantage of this offer now and save more on your CyberGhost subscription.

Editors' Note: Intego, Private Internet Access, Cyberghost and Expressvpn are owned by Kape Technologies, our parent company.

Advantages of the OpenVPN Protocol

The term “VPN protocol” refers to the combination of encryption and transmission methods that VPN providers use to make sure you can safely and anonymously connect to their servers.

OpenVPN remains the industry standard for VPN connections. It provides a robust and reliable combination of speed and security.

And because OpenVPN is open-source software, it becomes stronger and more secure over time as developers continuously inspect and strengthen the code. OpenVPN was released in 2001 and has been repeatedly tested and improved ever since.

It supports the strongest encryption algorithms and cyphers, including military-grade 256-bit with AES, and offers an industrial-strength security infrastructure designed to withstand and protect against both passive and active attacks.

In time, another protocol will surpass OpenVPN; that’s the nature of technology. Recently, the release of open-source versions of IKEv2 gave a big boost to that protocol’s status. For now, however, OpenVPN remains the first protocol we look for and the last one we would give up.

How to Set Up OpenVPN on Your Device – Installation Guides

We are going to use ExpressVPN for our examples, and will cover Mac OS, Windows, Linux, Android, and iOS. However, you can also set up OpenVPN on many other devices and operating systems, including routers and Raspberry Pi. You can find more guides on the ExpressVPN website.

To set up OpenVPN manually, you will need to download a client that allows you to connect to a network via the OpenVPN protocol. We’ll explain which third-party app you need for your device below.

Remember that while these instructions will allow you to connect to OpenVPN, you still need to subscribe to ExpressVPN – or another VPN provider – in order to access VPN servers.

Windows OpenVPN Setup Guide

  1. Download and install the OpenVPN GUI application.

    screenshot of OpenVPN install file in windows explorerDownload the OpenVPN app and install it on your computer

  2. Once you have installed the program, download the ExpressVPN server configuration files from the provider’s website.
  3. After downloading the files, navigate to the folder where they’ve been saved and copy them to this directory: C:/Program Files/OpenVPN/config/
  4. The OpenVPN GUI application supports up to 50 configuration files at once, and each file corresponds to a particular server. Since ExpressVPN’s network has over 3,000 servers, you should check the provider’s server list and choose the servers you want to use before performing the manual installation.
  5. Now open the OpenVPN GUI app.
    screenshot of OpenVPN GUI icon
  6. Click Yes to allow the app to make changes to your device.
  7. The application will start running automatically. Find its icon in your visible or hidden system tray.
  8. Right-click on the OpenVPN GUI icon and choose a server by clicking Connect.
  9. Enter your ExpressVPN login details in the popup window.
  10. The app icon will turn green to indicate that you are safely connected to an ExpressVPN server via OpenVPN. You are ready for secure, anonymous browsing!

Mac OS X OpenVPN Setup Guide

For Mac users, there are two options to manually install OpenVPN - the TunnelBlick client or the Viscosity client. However, in this scenario, we will be using Viscosity.

  1. Download Viscosity (supported by OS X 10.7 or newer), then navigate to the ExpressVPN website and download the Mac OS configuration files package.

    screenshot of Viscosity OpenVPN client download pageAccess Viscosity and download the macOS client

  2. Unzip the configurations file package. Then open the Viscosity.dmg file and install the application normally.
  3. Launch Viscosity from your applications folder, and Allow the Viscosity Helper Tool installation.

    screenshot of macOS Viscosity installerAllow Viscosity to run and install it on your computer

  4. Click on the Viscosity icon in your menu bar and then Preferences.
  5. Click the plus sign in the preferences window, then select Import Connection and From File…

    screenshot of Viscosity on macOS — Preferences tabLoad the configuration you downloaded into Viscosity

  6. Select the configurations folder you unzipped in Step 2.
  7. After the files have been imported, go to the Viscosity icon in your menu bar. Pick your server from the drop-down list.
  8. You have successfully set up OpenVPN on your Mac and are ready to surf!

Linux OpenVPN Setup Guide

For connecting to OpenVPN on a Linux system, options include Ubuntu, Debian, and Fedora. In this example, we will demonstrate the process using Ubuntu.

    1. Log in to the ExpressVPN setup page with your credentials
    2. When logged in, you’ll see a list of OpenVPN configuration files on the right.
    3. Click the location(s) you want in order to download the.ovpn file(s).
    4. Launch Terminal
    5. Enter the following text to install OpenVPN
      $ sudo apt install openvpn openvpn-systemd-resolved
    6. Enter your ExpressVPN password and then enter Y to continue.
    7. Enter the following to launch OpenVPN:
      $ sudo openvpn --config /[path to file]/my_expressvpn_[server location].ovpn --script-security 2 --up /etc/openvpn/update-systemd-resolved --down /etc/openvpn/update-systemd-resolved --dhcp-option 'DOMAIN-ROUTE.' --down-pre
    8. Replace [path to file] with the location you downloaded the ExpressVPN configuration file and [server location] with the location in the.ovpn file name.
    9. Enter your ExpressVPN account credentials (the same ones you used in step 1).
    10. You have successfully connected to ExpressVPN’s OpenVPN network like a software-developing boss!

Android OpenVPN Setup Guide

  1. Open your browser and download the ExpressVPN configuration package from the provider’s website.
  2. Go to the Google Play store.

    screenshot of Google PlayStore app on Android deviceFind and access the Play Store on your Android device

  3. Find, download, and install the OpenVPN Connect app.

    screenshot of OpenVPN Connect app in Google Play StoreDownload the OpenVPN Connect app

  4. Accept the terms and open the application.
  5. In the application, tap the menu button, then tap Import in the drop-down menu.
  6. Select Import Profile from SD card. Find the configuration files in your Downloads folder.

    screenshot of Import from SD option in OpenVPN ConnectImport the configuration into the OpenVPN Connect app

  7. Choose one of the configuration files and tap it to import it.
  8. Click Accept when prompted.
  9. Repeat steps 5 through 8 to add other servers to the app.
  10. Tap the box to get the drop-down menu, then select your server.
  11. Enter your ExpressVPN username and password.
  12. Tap Connect, and then Continue to connect without a certificate.
  13. You are now running the OpenVPN protocol for ExpressVPN on your Android phone!

iOS OpenVPN Setup Guide

  1. Go to the App store on your iPad/iPhone. Find OpenVPN Connect and install the app.

    screenshot of Apple AppStore OpenVPN ConnectFind the OpenVPN app in your device's AppStore and install it

  2. Download one or more of the OpenVPN configuration files from ExpressVPN’s website.
  3. After downloading the file(s), choose Open in OpenVPN.
  4. Tap on the green ‘plus’ button.
  5. Enter your ExpressVPN login details and save the password in your keychain. If you are asked for permission to add OpenVPN to your VPN configurations, click Allow.
  6. Tap on the button to toggle from Disconnected to Connected to connect to ExpressVPN.
  7. You have successfully connected to the ExpressVPN network via OpenVPN on your iOS device! To disconnect, toggle the Disconnected/Connected button back to Disconnected. You can then choose a different server and reconnect if you wish.

Manual OpenVPN Installation with Other VPNs

If instead of ExpressVPN, you choose CyberGhost VPN, you'll find that the manual setup process for your device is very similar to the steps shown above.

If you're in search of additional reliable VPN options for your computer or phone, please refer to our list of top providers below. Each of them offers applications with OpenVPN as the default protocol, and they also support manual OpenVPN setup.

Premium VPNs are supported on vast a range of devices, including not only computers and phones but also routers, the Amazon Fire TV Stick, and many more. You can find detailed setup guides for every device on your VPN provider’s website and in our blog archives.

Summary

The OpenVPN protocol remains the industry standard for its combination of speed, encryption strength, and code security. The best VPN providers offer apps that use OpenVPN by default or through an easy Settings change within the apps.

However, there are still circumstances in which you might want to set up the protocol manually. Whether you have an older device or are just interested in how the process works, now you know how to bypass the native apps and connect to OpenVPN in a few simple steps!

If you want to learn more about the differences between various VPN protocols, check out our comprehensive guide to the most secure (and least secure) VPN tunneling methods.

For a great VPN with OpenVPN built right into the apps, try any of these highly recommended providers. Follow the links to get an insider’s deal!

Rank
Provider
Our Score
Discount
Visit Website
1
medal
9.9 /10
9.9 Our Score
Save 49%!
2
9.7 /10
9.7 Our Score
Save 84%!
3
9.2 /10
9.2 Our Score
Save 78%!

Privacy Alert!

Your data is exposed to the websites you visit!

Your IP Address:

Your Location:

Your Internet Provider:

The information above can be used to track you, target you for ads, and monitor what you do online.

VPNs can help you hide this information from websites so that you are protected at all times. We recommend ExpressVPN — the #1 VPN out of over 350 providers we've tested. It has military-grade encryption and privacy features that will ensure your digital security, plus — it's currently offering 49% off.

Visit ExpressVPN

We review vendors based on rigorous testing and research but also take into account your feedback and our affiliate commission with providers. Some providers are owned by our parent company.
Learn more
vpnMentor was established in 2014 to review VPN services and cover privacy-related stories. Today, our team of hundreds of cybersecurity researchers, writers, and editors continues to help readers fight for their online freedom in partnership with Kape Technologies PLC, which also owns the following products: ExpressVPN, CyberGhost, and Private Internet Access which may be ranked and reviewed on this website. The reviews published on vpnMentor are believed to be accurate as of the date of each article, and written according to our strict reviewing standards that prioritize professional and honest examination of the reviewer, taking into account the technical capabilities and qualities of the product together with its commercial value for users. The rankings and reviews we publish may also take into consideration the common ownership mentioned above, and affiliate commissions we earn for purchases through links on our website. We do not review all VPN providers and information is believed to be accurate as of the date of each article.

About the Author

Kristina Perunicic is a former editor for vpnMentor. She’s a cybersecurity expert with an interest in VPNs and their importance in the digital privacy landscape.

Did you like this article? Rate it!
I hated it! I don't really like it It was ok Pretty good! Loved it!
out of 10 - Voted by users
Thank you for your feedback

Please, comment on how to improve this article. Your feedback matters!

Leave a comment

Sorry, links are not allowed in this field!

Name should contain at least 3 letters

The field content should not exceed 80 letters

Sorry, links are not allowed in this field!

Please enter a valid email address

Thanks for submitting a comment, %%name%%!

We check all comments within 48 hours to ensure they're real and not offensive. Feel free to share this article in the meantime.