How to set up and use the ExpressVPN app for Raspberry Pi

raspberry pi devices

Need a VPN for Raspberry Pi?

Get ExpressVPN Now
refer a friend

Love ExpressVPN? Want a free month?

Refer a friend now

This tutorial will walk you through the steps to set up the ExpressVPN app for Raspberry Pi.

ExpressVPN is compatible with Raspberry Pi 2 and newer using Raspbian 32bits.

Jump to section

Download the installer for your version of Raspberry Pi
Install the app
Connect to a server location
Disconnect from a server location
Choose a different server location
Switch to a different VPN protocol
Open the manual
Use the autocomplete feature
Uninstall your app
Troubleshoot your installation
Troubleshoot your connection


Download the installer for your version of Raspberry Pi

Open the Welcome Email you received when you signed up for ExpressVPN. Click the link in the email.

open the welcome email

If you can’t find the link, sign in to your account here.

login

Once you’ve clicked the link in the welcome email or logged in to the website, click on Set Up ExpressVPN on the Active Subscriptions page. This will take you to the Downloads page.

set up expressvpn

Click on Linux on the left side of the screen and download the Raspbian 32-bit installer onto your machine.

Copy the activation code. You will need to provide it later when activating the app. To copy, click on the copy information icon on the top right corner of the box.

raspbian expressvpn 32bit

Optional: Learn about downloading the PGP key and verifying the signature.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Install the app

To install ExpressVPN for Linux using the command line for Raspbian:

Navigate to the folder where you downloaded the installer file. For example: cd ~/Downloads/

Once inside the folder, run one of the following commands, according to your distribution:

sudo dpkg -i expressvpn_1.2.0_armhf.deb

raspbian expressvpn install

To activate the app, open a new terminal. Run the following:

expressvpn activate

raspbian expressvpn activate

and paste your activation code from the Downloads page.

You can help us by sharing anonymous information! Enter Y to accept or n to decline.

raspbian expressvpn analytics

If you chose to send diagnostics but want to opt out later, run the following:

expressvpn preferences set send_diagnostics false

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Connect to a server location

In the terminal, run the following:

expressvpn connect

ExpressVPN will connect to the server you were previously connected to.

If you have not connected to a server before, ExpressVPN will connect to a recommended location, called Smart Location, for you.

raspbian expressvpn connect

Note: a single ExpressVPN subscription can be used simultaneously on three devices, regardless of platform. If you try to use more than three devices simultaneously on one subscription, you will see the below screen:

raspbian expressvpn too many

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Disconnect from a server location

To disconnect from a server location, run the following command:

expressvpn disconnect

ExpressVPN will disconnect from the server location to which it is currently connected.

raspbian expressvpn disconnect

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Connect to a different server location

To find a list of recommended locations to connect to, enter the following command in the terminal:

expressvpn list

By default, ExpressVPN will suggest the location that provides the most optimal experience for you, called Smart Location, at the top of the list.

raspbian expressvpn list

Connect to a specific server location

To connect to a specific server location, enter:

expressvpn connect [LOCATION]

or

expressvpn connect [ALIAS]

For example, to connect to the US Santa Clara server, enter:

expressvpn connect "USA - Santa Clara"

or

expressvpn connect ussc

Connect to a specific country

To connect to a specific country, enter:

expressvpn connect [COUNTRY]

For example, to connect to a server location in Germany, enter:

expressvpn connect Germany

Connect to Smart Location

To connect to the Smart Location:

expressvpn connect

raspbian expressvpn connect

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Switch to a different VPN protocol

VPN protocols are the methods by which your device connects to a VPN server. Switching to a different protocol can help you achieve faster connection speeds.

The ExpressVPN Linux client uses OpenVPN in the background. Under OpenVPN, you can switch between the TCP or UDP protocols. By default, ExpressVPN will automatically pick the best protocol for you.

To switch to TCP, run the following command:

expressvpn protocol tcp

To switch to UDP, run the following command as shown in the screenshot below:

expressvpn protocol udp

raspbian expressvpn protocol

If you want ExpressVPN to automatically select the optimal protocol, enter:

expressvpn protocol auto

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Open the manual

To view a full list of the app’s functions, run the following command:

man expressvpn

raspbian expressvpn man

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Use the autocomplete feature

When entering commands, you can get a list of all functions by clicking the “tab” key twice.

For example, typing expressvpn protocol and then clicking the “tab” key twice lists the protocol options available.

raspbian expressvpn tab

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Uninstall your app

To uninstall the ExpressVPN app, run the following command:

sudo dpkg -r expressvpn

raspbian expressvpn uninstall

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Troubleshoot your installation

If you see the error message Cannot connect to expressvpn daemon, enter the following command to restart ExpressVPN:

sudo service expressvpn restart

raspbian expressvpn restart

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top


Troubleshoot your connection

If you experience any connection problems with your app, try the following troubleshooting steps:

  1. Connect to a different server location
  2. Change your VPN protocol
  3. Reboot your machine and relaunch the ExpressVPN app for Linux
  4. Get the latest version of the ExpressVPN app for Raspberry Pi

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

Was this article helpful?1 0 Undo