Get a VPN for Raspberry Pi.
Raspberry Pi için VPN'e ihtiyacınız var mı?
Hemen ExpressVPN Edinin
Get started with ExpressVPN.
ExpressVPN'i seviyor musunuz? Bir ay ücretsiz hizmet ister misiniz?
Hemen bir arkadaşınıza önerin

This tutorial will show you how to set up the ExpressVPN Linux app on Raspberry Pi. ExpressVPN is compatible with Raspberry Pi using ARMv7 CPUs and running Raspberry Pi OS versions supported by Debian’s Long Term Support Window.

Note: If you prefer to control the ExpressVPN Linux app with a graphical user interface (GUI), you can do so with the ExpressVPN browser extension for Chrome or Firefox. Install the browser extension after setting up the app.

Jump to…

1. Download the installer
2. Install and activate the app
3. Connect to a VPN server location
Disconnect from a VPN server location
Choose a different VPN server location
Switch to a different VPN protocol
Open the manual
Use the autocomplete feature
Use the ExpressVPN browser extension
Uninstall your app
Troubleshoot your connection


Download the installer

Go to the ExpressVPN setup page. If prompted, enter your ExpressVPN credentials and click Sign In.

Enter your account credentials, then click "Sign In."

Enter the verification code that is sent to your email.

On the right, select Raspberry Pi OS. Click Download.

The download screen for the Raspberry Pi OS version of the ExpressVPN app, with an arrow pointing to the download button

You will also see your activation code below.

Keep this browser window open. You will need the information for the setup later.

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

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

Back to top


2. Install and activate the app

Install the app

Open Terminal. Run this command:

cd ~/Downloads/

Then run this command:

sudo dpkg -i [installer filename]

Run the sudo command to install the installer file.

The installation will begin.

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

sudo service expressvpn restart

Activate the app

In the Terminal window, run this command:

expressvpn activate

Run the sudo command to activate ExpressVPN.

Paste the activation code you found earlier. Note that the code won’t appear on the screen. Hit Enter.

You will be notified when the app has been activated.

You can help improve ExpressVPN by sharing anonymized diagnostic reports. Enter Y to accept or n to decline.

If you want to opt out of sending diagnostics to ExpressVPN in the future, run this command:

expressvpn preferences set send_diagnostics false

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

Back to top


3. Connect to a VPN server location

In the Terminal window, run this command:

expressvpn connect

Run “expressvpn connect” to connect to a VPN server location.

If you are connecting for the first time, ExpressVPN will use the Smart Location feature to select a server location, which is recommended to you based on factors such as speed and proximity.

If this is not your first time connecting, ExpressVPN will connect to the server location you were most recently connected to.

Once you are successfully connected, you will see the “Connected to…” message.

Note: With a single ExpressVPN subscription, you can connect to the VPN on up to eight devices at the same time, regardless of platform. If you try to connect to more than eight devices at once, you will see a message that says, “You’ve exceeded ExpressVPN’s device usage limit for this subscription.”

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

Back to top


Disconnect from a VPN server location

To disconnect from a server location, run this command:

expressvpn disconnect

You will be notified when the app has been disconnected.

You will be notified when the app has been disconnected.

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

Back to top


Connect to a different VPN server location

Note: Before connecting to a different server location, you must disconnect from your current server location.

To find a list of recommended locations to connect to, run this command:

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.

After running “expressvpn list,” you will see a list of recommended locations to connect to.

Connect to a specific country

To connect to a specific country, run this command:

expressvpn connect [COUNTRY]

For example, to connect to Germany, run this command:

expressvpn connect Germany

ExpressVPN will select a server location in Germany that provides the most optimal experience for you.

Connect to a specific server location

To connect to a specific server location, run this command:
expressvpn connect “[LOCATION]”

or
expressvpn connect [ALIAS]

For example, to connect to the U.S.’s Santa Clara server, run this command:

expressvpn connect "USA - Santa Clara"

or

expressvpn connect ussc

Connect to Smart Location

To connect to the Smart Location:

expressvpn connect smart

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

Back to top


Switch to a different VPN protocol

Important: Disconnect from the VPN before switching to another protocol.

VPN protocols are the methods by which your device connects to a VPN server. For the best experience, ExpressVPN recommends using the Automatic protocol option. This is selected by default and automatically picks the protocol most appropriate for your network.

In some cases, switching to a different protocol can help you achieve faster connection speeds.

To switch to Lightway – TCP, run the following command:

expressvpn protocol lightway_tcp

To switch to Lightway – UDP, run the following command:

expressvpn protocol lightway_udp

To switch to OpenVPN – TCP, run the following command:

expressvpn protocol tcp

To switch to OpenVPN – UDP, run the following command:

expressvpn protocol udp

You will see the message, “Protocol changed.”

You will see the message: “Protocol changed.”

To use the Automatic option, run this command:

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 ExpressVPN app’s functions, run this command:

man expressvpn

You will see the different commands listed there.

Run “man expressvpn” to see a list of commands.

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

Back to top


Use the autocomplete feature

After typing a command, hit the tab key twice to see a list of available options.

For example, type:

expressvpn protocol

Then hit the tab key twice. This will list all the available protocols.

After typing a command, hit the tab key twice to see a list of available options.

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

Back to top


Use the ExpressVPN browser extension

If you prefer to control the ExpressVPN Linux app with a graphical user interface (GUI), you can do so with the ExpressVPN browser extension for Chrome or Firefox.

Note: To use the browser extension, make sure to download and activate the ExpressVPN Linux app (Version 2.0 or newer) first.

To get the ExpressVPN browser extension, run one of the following commands:
expressvpn install-firefox-extension
expressvpn install-chrome-extension

Run command to install the ExpressVPN browser extension.

This will open the page for downloading the ExpressVPN browser extension. Click Get Extension.

Under "ExpressVPN for Chrome," click "Get Extension."

Learn more about the ExpressVPN browser extension.

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

Back to top


Uninstall your app

To uninstall the ExpressVPN app, run this command:

sudo dpkg -r expressvpn

The ExpressVPN app will be removed from your device.

ExpressVPN is now removed from your device.

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. Download the latest version of the ExpressVPN app for Linux.
  2. Connect to a different VPN server location.
  3. Change your VPN protocol.
  4. Reboot your Raspberry Pi and relaunch the ExpressVPN app.

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

Back to top

Bu yazı faydalı oldu mu?

Bunu duyduğumuza üzüldük. Nasıl geliştirebileceğimiz hakkında bizi bilgilendirin.

Destek Ekibimizden bir üyemiz sorununuzla ilgili sizinle iletişime geçecek.