Introduction: Create VPN on Your Raspberry Pi Device
VPN or Virtual Private Network can help ordinary internet users stay a little bit more private while surfing the Net. It can also help professional software developers while working on their projects. And Raspberry Pi VPN connection, which is based on creating a private network access on Raspberry Pi device helps not only "hide" within the Net, but also stay thrifty and smart.
There different ways to create a VPN on Raspberry Pi, including either OpenVPN setup or porting PIA VPN for Linux with the help of x86 environment emulator.
Speaking about the first option, I personally, think that it's too complicated and long. You can simply google it and find the best and most detailed tutorial on ReadWrite.com (just google "vpn raspberry pi" and and look through the first search position)
As to the second way, its much faster and simpler. So, let's concentrate on this.
This will include 4 simple steps:
1. Emulator installation
2. Guest x86 system launch
3. Private Internet Access installation
4. VPN Set up.
Step 1: Emulator Installation
In this tutorial I will use ExaGear Desktop as an emulator. Its fast and sustainable, so I prefer to use it in my projects. You may choose whatever you personally like.
To install ExaGear simply download it form their official site - https://eltechs.com/product/exagear-desktop/ (this is an affiliate link and it's safe for work) fulfill the command after that to unpack the archive
tar -xvzpf exagear-desktop-rpi3.tar.gz
After that, you need to install the emulator by inputting the following command:
Step 2: Guest X86 System Launch
Now, we need to start the emulator for it to create an x86 environment on your Raspberry Pi. The command is:
Check, if the environment is on:
You should see "i686" in return.
Step 3: Private Internet Access(PIA) Installation. Part 1
As the first part of the step of installation PIA on your Raspberry Pi you'll need to download installer for Linux from their official web-site. Simply follow the link: https://www.privateinternetaccess.com/installer/download_installer_linux - its' not an affiliate one and absolutely safe!
Step 4: PIA Installation. Part 2
As usual, everything that you download to RPi is placed into "Downloads" derictory, so, dont forhet to do two important things before get to innstallation the PIA.
1. Go to "Downloads" folder:
2. Make sure that you're operating within x86 environment (remember this :"arch" command?)
Then, if everything is correct, you need to do the following operations:
1. Unpack the downloaded archive:
tar -xzvf Downloads/pia-*-installer-linux.tar.gz
2. Launch the PIA installation manager:
3. Download and set up the PIA libraries:
sudo apt-get install libnss3 libgconf-2-4 libasound2 libxtst6
Step 5: VPN Set Up
Now, you're all set and can set up VPN. As the final step, simply go to Menu - Other - Private Internet Access and set up VPN in the popping up Window.
That's it! You're almost invisible and unreachable within the world wide web! ;)
Step 6: To Add a Bit
If you need to watch a video of that installation, so find it on the ExaFear official web site in their article about VPN on RPi(this link as affiliate and fully safe for work. I need it to support my further instructables.com activity).
We have a be nice policy.
Please be positive and constructive.