Set Up VPN on Raspberry Pi

Step-by-step instruction to set up PIA VPN on Raspberry Pi

using ExaGear Desktop

 

 Run PIA VPN Service on Raspberry Pi

VPN (Virtual Private Network) helps you encrypt your connection and browse the Internet anonymously with a hidden IP to protect your privacy. And you would probably want to set up VPN on your Raspberry Pi to protect your privacy while surfing the Internet.

There are companies offering ready-to-use VPN services. They provide you with anonymous IP and encrypt your connection by routing your traffic through their servers. Unfortunately, many of VPN services aren’t available for Raspberry Pi. But ExaGear Desktop can help you with that.

Today we’ll tell you about Private Internet Access VPN Service. Although PIA doesn’t have an installer for Raspberry Pi you can use PIA and set up VPN on your RPi with the help of ExaGear Desktop. Below is a simple instruction on how to do that.

P.S.: you might also want to know how to run Google Chrome on Raspberry Pi

Raspberry Pi test stand configuration

Model

Raspberry Pi 2 Model B

Raspberry Pi 3

Frequency

1000 MHz

1200 MHz

Memory

1 GB RAM

1 GB RAM

Operating System

Raspbian Jessie from November 2015

Raspbian Jessie from May 2016

Software

Private Internet Access for Linux

Eltechs ExaGear Desktop for Raspberry Pi 2

Private Internet Access for Linux

Eltechs ExaGear Desktop for Raspberry Pi 3

VPN setup instruction

Install ExaGear Desktop

1. Put ExaGear Desktop archive with installation packages and ExaGear Desktop license key in the same folder. Open Terminal (command line), move to this folder and unpack the archive by entering the following command:

$ tar -xvzpf exagear-desktop-rpi3.tar.gz

2. Install and activate ExaGear by running install-exagear.sh script:

$ sudo ./install-exagear.sh

That’s it.

Launch guest x86 system

3. Enter the guest x86 system by typing the following command:

$ exagear
Starting the shell in the guest image /opt/exagear/images/debian-8

You’re in x86 environment that can be checked by running the ‘arch’ command:

$ arch
i686

4. It is recommended to update apt-get repositories on the first launch of the guest system:

$ sudo apt-get update

Install Private Internet Access

5. Download Private Internet Access installer for Linux from the official site https://www.privateinternetaccess.com/installer/download_installer_linux using browser.

6. Unpack the downloaded archive in Terminal inside the guest system:

$ tar -xzvf Downloads/pia-*-installer-linux.tar.gz

7. Run Private Internet Access installer:

$ ./pia-*-installer-linux.sh

8. Install libraries required for PIA:

$ sudo apt-get install libnss3 libgconf-2-4 libasound2 libxtst6

Set up VPN

9. Run PIA by clicking on launcher in Menu -> Other -> Private Internet Access and set up VPN.

Your Raspberry Pi protected  by PIA VPN

Final notes

This way you can set up VPN not only on Raspberry Pi 2 or Raspberry Pi 3 but also on another ARM-based device such as Odroid, Banana Pi, Beagleboard, Cubox, Jetson, Cubieboard etc. ExaGear Desktop supports almost all ARM devices and you can run PIA VPN service on any of them.

It is worth noting that with ExaGear Desktop you can run practically any x86 app on Raspberry Pi and other ARM-based devices.

Get my ExaGear Desktop

Also on Eltechs

Gaming Beyond RetroPie

Gaming Beyond RetroPie

How to run some iconic PC games like Arcanum, Disciples II and Fallout on Raspberry Pi with Exagear Desktop.

Run Plex Media Server on Raspberry Pi

Run Plex Media Server on Raspberry Pi

Install PC version of PlexServer on your Raspberry Pi using ExaGear Desktop and get access to your media.

Run Spotify on Raspberry Pi

Run Spotify on Raspberry Pi

Spotify is available on many platforms but not on Raspberry Pi 🙁 During last month we were working hard on the performance tuning of ExaGear Desktop and made it happen!

Run Netflix via Google Chrome on Raspberry Pi

Run Google Chrome on Raspberry Pi

Step-by-step instruction of running Google Chrome browser and Netflix on Raspberry Pi with the help of ExaGear Desktop.

Run TeamViewer on Raspberry Pi

Run TeamViewer on Raspberry Pi

In this post we will tell you how to run TeamViewer on Raspberry Pi 2 using ExaGear Desktop which allows to run x86 apps on ARM mini PCs.

Run Dropbox on Raspberry Pi

Run Dropbox on Raspberry Pi

Step-by-step instruction of running a very popular file hosting service Dropbox on Raspberry Pi 2 using ExaGear Desktop

ExaGear is registered trademark of Elbrus Technologies. Raspberry Pi is a trademark of the Raspberry Pi Foundation. Other trademarks and product names are the property of their respective owners.