How to Set Up OpenVPN on Any Computer or Phone – 2023 Update
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!
Tested January 2023 Try Risk-Free for 30 Days
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.
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 9,758 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.
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
- Download and install the OpenVPN GUI application.
- Once you have installed the program, download the ExpressVPN server configuration files from the provider’s website.
- After downloading the files, navigate to the folder where they’ve been saved and copy them to this directory: C:/Program Files/OpenVPN/config/
- 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.
- Now open the OpenVPN GUI app.
- Click Yes to allow the app to make changes to your device.
- The application will start running automatically. Find its icon in your visible or hidden system tray.
- Right-click on the OpenVPN GUI icon and choose a server by clicking Connect.
- Enter your ExpressVPN login details in the popup window.
- 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
If you are a Mac user, you can use either the TunnelBlick client or the Viscosity client to manually install OpenVPN. For this example, we are going to use Viscosity.
- Download Viscosity (supported by OS X 10.7 or newer), then navigate to the ExpressVPN website and download the Mac OS configuration files package.
- Unzip the configurations file package. Then open the Viscosity.dmg file and install the application normally.
- Launch Viscosity from your applications folder, and Allow the Viscosity Helper Tool installation.
- Click on the Viscosity icon in your menu bar and then Preferences.
- Click the plus sign in the preferences window, then select Import Connection and From File…
- Select the configurations folder you unzipped in Step 2.
- After the files have been imported, go to the Viscosity icon in your menu bar. Pick your server from the drop-down list.
- You have successfully set up OpenVPN on your Mac and are ready to surf!
Linux OpenVPN Setup Guide
On a Linux system, you can connect to OpenVPN via Via Ubuntu, Debian, and Fedora. We are going to use Ubuntu for this example.
- Log in to the ExpressVPN setup page with your credentials
- When logged in, you’ll see a list of OpenVPN configuration files on the right.
- Click the location(s) you want in order to download the.ovpn file(s).
- Launch Terminal
- Enter the following text to install OpenVPN
$ sudo apt install openvpn openvpn-systemd-resolved
- Enter your ExpressVPN password and then enter Y to continue.
- 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
- Replace [path to file] with the location you downloaded the ExpressVPN configuration file and [server location] with the location in the.ovpn file name.
- Enter your ExpressVPN account credentials (the same ones you used in step 1).
- You have successfully connected to ExpressVPN’s OpenVPN network like a software-developing boss!
Android OpenVPN Setup Guide
- Open your browser and download the ExpressVPN configuration package from the provider’s website.
- Go to the Google Play store.
- Find, download, and install the OpenVPN Connect app.
- Accept the terms and open the application.
- In the application, tap the menu button, then tap Import in the drop-down menu.
- Select Import Profile from SD card. Find the configuration files in your Downloads folder.
- Choose one of the configuration files and tap it to import it.
- Click Accept when prompted.
- Repeat steps 5 through 8 to add other servers to the app.
- Tap the box to get the drop-down menu, then select your server.
- Enter your ExpressVPN username and password.
- Tap Connect, and then Continue to connect without a certificate.
- You are now running the OpenVPN protocol for ExpressVPN on your Android phone!
iOS OpenVPN Setup Guide
- Go to the App store on your iPad/iPhone. Find OpenVPN Connect and install the app.
- Download one or more of the OpenVPN configuration files from ExpressVPN’s website.
- After downloading the file(s), choose Open in OpenVPN.
- Tap on the green ‘plus’ button.
- 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.
- Tap on the button to toggle from Disconnected to Connected to connect to ExpressVPN.
- 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
And if you’re looking for other trustworthy VPN options for your computer or phone, see our top providers list below. All of them offer apps with OpenVPN as the default protocol and support manual OpenVPN setup as well.
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.
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!
Your data is exposed to the websites you visit!
Your IP Address:
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.