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
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
. Below is a simple instruction on how to do that.
you might also want to know
how to run Google Chrome on Raspberry Pi
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
Launch guest x86 system
3. Enter the guest x86 system by typing the following command:
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:
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
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:
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.
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.
supports almost all ARM devices and you can run PIA VPN service on any of them.
It is worth noting that with
you can run practically any x86 app on Raspberry Pi and other ARM-based devices.
The original blog post is
Set Up VPN on Raspberry Pi