1. Home
  2. VPN / Privacy

Using ExpressVPN on Linux: Quick Overview

Linus is an incredible achievement of open-source software, but its users all know how much of a pain it can be to get some software working. This is because the operating system has been overlooked by many developers, who prefer to target their efforts on more widely adopted (and therefore more profitable) platforms like Windows and MacOS.

Fortunately, this isn’t the case with ExpressVPN. Unlike some VPN providers, ExpressVPN does support Linux and has an extensive section in its support pages about installing the software onto a Linux system. To help you out with this task, we’ll talk about why Linux users might need a VPN and then show you step by step instructions for how to install and use ExpressVPN for Linux.

ExpressVPN: Special Linux Deal

If you’re a Linux user and you want to try out ExpressVPN, then we have a special offer on subscriptions that you will want to check out:

ExpressVPN is a VPN that is popular among serious internet users thanks to its combination of speed, security, and flexibility. The connections available are super fast and are perfect whether you’re browsing the web, streaming high definition video, or downloading large files. The security measures include the essential use of strong 256-bit encryption to prevent hackers from cracking your encryption, and a no logging policy so that you can be sure your privacy will be protected. There are more security features available too like a kill switch, DNS leak protection, and an IP address checker.

The number of servers available is huge, with a network of over 1500 servers available in 145 locations in 94 different countries. This means that you can easily get around region locks to view content from other countries, like funny videos on Comedy Central in the US, educational documentaries on BBC iPlayer in the UK, and great sports coverage from CBS in Canada. The software from ExpressVPN isn’t only available for Linux, either: it can also be installed Windows, Mac OS, and Android, plus some smart TVs and games consoles. And don’t forget about the browser extensions for the Google Chrome, Mozilla Firefox, and Apple Safari browsers.

Read our full ExpressVPN review here.

EXCLUSIVE DEAL: Sign up for a year with ExpressVPN at $6.67 per month and get 3 months FREE! There’s also an amazing risk-free 30-day money back guarantee, just in case you’re not completely satisfied.

Why Linux Users Benefit From A VPN

As a Linux user, you might feel pretty happy about your security situation. Linux users are far less vulnerable to viruses and malware than Windows or Mac users, thanks to both the option to improve your security options on Linux and the fact that is a lesser used platform making it less appealing to malware coders. Overall, your Linux machine is less likely to be hacked than a Windows machine or a smartphone. So you might think that you have no need for a VPN.

In fact, thought, Linux users can still benefit from beefing up their security with a VPN. One big issue is online privacy. No matter how good your virus protection, if you go online then your activities can still be tracked. When your connect to your home internet network it’s shockingly easy for your ISP to see what sites you are visiting, what files you are downloading, and whether you are using P2P downloads like torrents. Linux users are just as likely to receive legal threats due to using torrents for copyrighted material as a Windows or Mac user.

So even if you think that your Linux system is safe, you still need a VPN to protect your privacy when you go online. As Linux users tend to be more tech savvy than other OS users, in fact they generally appreciate the need for privacy protection even more than most people. That’s why VPN use is popular among Linux users too.

ExpressVPN For Linux

ExpressVPN is one of the most popular VPNs thanks to its great security and super fast connections. They are also known for supporting a wide range of platforms – and this includes support for Linux. If you are unsure where to start setting up ExpressVPN on Linux, then you can find information on the ExpressVPN support pages.

There are two ways that you can install ExpressVPN on Linux. The first method is to use the Linux app which is available from ExpressVPN and which works on systems running Ubuntu, Debian, Fedora, and CentOS. The other method is to set up your VPN connection using OpenVPN, which is less convenient than using the app but has the advantage of working on almost all distros. We’ll give you full instructions for installation using both of these methods below:

Instructions For Setting Up ExpressVPN On Linux Using The App

The easiest way to get ExpressVPN on Linux is to use the Linux app. The command line-based app is lightweight and makes it easy to see a list of available servers and to connect to the server that you want. There are specific installers for the app available for Ubuntu, Fedora, and Raspbian. You’ll need to know whether your OS is 32 bit or 64 bit before you begin.

Now we’ll start with downloading the app an installing it:

  1. Begin by opening your web browser and navigating to https://www.expressvpn.com/users/sign_in
  2. Sign in with the username and password you used when you signed up for ExpressVPN
  3. On the My Account page, look on the Dashboard tab. If you’re on another OS, like Windows, then you’ll see a button saying Download for Windows. But we need something else, so look for a button that says Set Up on More Devices
  4. Now the download page will open, at https://www.expressvpn.com/setup
  5. On this page you’ll see your Activation Code in the blue box (it’s blanked out in our image for security reasons, but your code should be right there). Take a note of the code as you’ll need it later
  6. Scroll down the page until you find the Linux option in the left hand menu. Click on this
  7. Now you’ll see a drop down menu with the options for installing ExpressVPN. Choose from the options: Ubuntu 32 bit, Ubuntu 64 bit, Fedora 32 bit, Fedora 64 bit, and Raspbian 32 bit
  8. Click the Download button to start downloading the .deb file
  9. Now we can proceed with the command line installation for the app. Open up the terminal
  10. Navigate to the folder where you saved the installer file
  11. Once you are inside the correct folder, run the command to install the file. On Ubuntu, Mint, and Debian that’s sudo dpkg -i [installer filename] while on Fedora or Cent OS that’s sudo yum install [installer filename]
  12. You’ll see a message in the terminal that the .deb file is being unpacked and the app is being installed
  13. Once this is complete you need to activate the app. To do this, open up a new terminal
  14. Now run the following command: expressvpn activate and then paste in the activation code that you saved earlier
  15. You’ll see an option to share crash reports. Hit Y for yes or N for no
  16. Now your app is activated, your preferences are set, and you’re ready to use the app

Using The ExpressVPN App

Now that the ExpressVPN app is installed, here’s how to use it to connect to a server:

  1. Go to your terminal and run the following command: expressvpn connect
  2. This command automatically connects you to your last previously connected server. If this is the first time you are running the command, then the app will automatically connect to a recommended server
  3. You will see a message confirming that ExpressVPN is connected
  4. You can also type expressvpn status to see information about the status of your connection
  5. Once you are connected you can browse the internet freely, knowing that your VPN is keeping you safe

If you want to disconnect from a server, then do as follows:

  1. Go to your terminal and run the command: expressvpn disconnect
  2. This will disconnect you from the server
  3. You will see a notification that the VPN has been disconnected

To connect to a different server – for example, to connect to a server in a particular country – then follow these instructions:

  1. Go to your terminal and run the command expressvpn list
  2. This will show you a list of available servers that you can connect to. A feature called smart location will select the optimal server for you, and this appears at the top of the list
  3. Choose the server that you want, then run one of the commands: expressvpn connect [LOCATION] or expressvpn connect [ALIAS]. For example, to connect to London you could use expressvpn connect “UK – London” or expressvpn connect uklo
  4. You’ll see a notification once you are connected to the new server

Finally, it can be useful to use the smart location feature. This selects a server that is nearby to you and which is fast for the best possible connection. Here’s how to use that:

  1. Go to your terminal and run the command: expressvpn connect smart
  2. This quickly connects you to a suitable server with no more input required
  3. You’ll see a notification that you are connected.

For more commands to use in the Linux app, see the ExpressVPN help page here.

Instructions For Setting Up And Using ExpressVPN On Linux Using The Terminal

If you don’t have a version of Linux which is compatible with the Linux app, then you can still connect to ExpressVPN using the OpenVPN protocol. It’s not quite as convenient as using the app, but this method should work on virtually any version of Linux. Here’s how to use OpenVPN files to set up ExpressVPN on Linux:

  1. Use your web browser to navigate to https://www.expressvpn.com/users/sign_in
  2. Sign in with the username and password you used when you signed up for ExpressVPN
  3. Go the the My Account page, then look on the Dashboard tab. If you’re on another OS like Windows, you’ll see a button saying Download for Windows. But we want to go to the downloads page instead so look for a button that says Set Up on More Devices
  4. Clicking this will open the downloads page at https://www.expressvpn.com/setup
  5. On this page you’ll see your Activation Code in the blue box (it’s blanked out in our image for security reasons, but your code should be right there). Take a note of the code as you’ll need it later
  6. Scroll down the page until you find the Manual Config option in the left hand menu. Click on this
  7. Click on OpenVPN in the main section
  8. You’ll see a username and password (obscured here for security purposes). Take a note of this information
  9. Below that you’ll see options for configuration files organised by region. Select the server that you want your router to connect to. For example, we want to connect to the server in London, so we click on Europe then on UK – London
  10. This will start a download of a .ovpn file. Save this file somewhere convenient, like your desktop
  11. Now we need to install OpenVPN and configure it using the .ovpn file we just saved. The exact commands that you need to do this will differ between distros, so we’ll assume you’re working on the latest version of Ubuntu for the rest of this guide. For alternative commands for other distros, visit the ExpressVPN support page here
  12. To install OpenVPN, open a terminal and enter sudo apt-get install -y openvpn
  13. Now to configure OpenVPN we type the following command: sudo openvpn –up /etc/openvpn/update-resolv-conf –down /etc/openvpn/update-resolv-conf –script-security 2 –config
  14. You can now use the .ovpn file you downloaded earlier. Drag and drop the .ovpn file onto the terminal to capture the path
  15. With the path loaded, now you can connect to the server. Just press enter once the path is loaded and you will be connected to the server that you selected earlier. This will take just a second and you will see the line Initialization Sequence Completed once it is done
  16. You need to keep this terminal window open in order to keep the VPN connection active. You can minimise the terminal window, just don’t close it or you will terminate the VPN connection

One issue with this method is that it only lets you connect to one server – the server that you chose in step 9. However, you can go back and download lots of .ovpn files for all the different servers you want to be able to connect to. Keep these files somewhere safe, then you can simply drag and drop the file that you need each time to connect to that particular server.

An Alternative – Install A Browser Extension For Easy Management Of Your VPN Connection

There is another method that you can use instead of or as well as these methods. The methods above will ensure that all the data travelling out from your device will be encrypted, whether it is from web browsing, P2P downloads, instant messaging, or anything else. But if you’re only concerned about anonymising your web traffic, then you can use a VPN for your web browser.

Although this gives you less comprehensive protection than using the full VPN to encrypt all of your traffic, the advantage is that browser extensions are incredibly easy to install. ExpressVPN has browser extensions available for both Google Chrome and Mozilla Firefox, two of the most popular browsers on the Linux platform.

Once you’ve installed the ExpressVPN extension for Firefox or for Chrome, you can quickly choose a server, connect, and disconnect from your VPN from within your browser. There is also an option for the smart location feature to connect to the fastest and nearest server, or you can choose your own server by location. One feature that you’ll want to enable is the option to automatically connect to the last used server whenever you open up Firefox, so you don’t accidentally send data unencrypted before the VPN starts up.

Conclusion

Even though Linux systems are generally safer from viruses and malware than systems running Windows or MacOS, it’s still a good idea for Linux users to consider their privacy and security needs. Linux users are as vulnerable to tracking of their internet activity as everyone else if they are not using a VPN to hide their IP address and encrypt their data. That’s why we recommend that Linux users get a VPN too.

Not every VPN provider supports Linux, unfortunately, but luckily the highly regarded ExpressVPN does offer Linux support. There are two methods available to get ExpressVPN on Linux: either through the Linux app or by using OpenVPN files. If your distro is compatible we recommend using the Linux app as this has the best features. But if you have another distro, don’t worry, as the OpenVPN option can be used to protect just about any Linux machine and keep you safe online.

If you’re a Linux user, do you have a VPN? Have you tried out ExpressVPN on Linux, and what was your experience like? Let us know about it in the comments below.

Leave a comment

DEAL EXPIRES IN:
0000
1111
0000
0000
0000
0000