Installing OpenVPN on a Raspberry Pi Zero W, inexpensive security for your peace of mind

; Date: Fri Mar 31 2017

Tags: Raspberry Pi »»»» Raspberry Pi Zero »»»» OpenVPN »»»» Security »»»» Virtual Private Networks

Nowadays our personal privacy is being threatened by new government policies. Fortunately the open source world gives us tools with which to secure our lives. This tutorial goes over installing OpenVPN on your home network, giving you a secure method to access resources on your home network from anywhere else. Suppose you have a NAS with many terabytes of data at home, but you're traveling thousands of miles away and need to access that data. A VPN service on your home network provides a porthole through which to do so, provided you have VPN software on the computer you're carrying.

The "VPN" acronym means Virtual Private Network. Often this is used by corporations so employees can access corporate network resources from elsewhere. Theoretically a corporation could use OpenVPN as well, instead of a commercial VPN product, but probably not on a Raspberry Pi.

Raspberry Pi 3 Model B Motherboard
Raspberry Pi 3 Model B Motherboard:

VPN's give you the illusion of logging into the remote network. For example you can access remote file servers, or any other service, because your computer is virtually present on the remote network.

The instructions in the video refers to this project: (www.pivpn.io) http://www.pivpn.io/ -- it's a simplified script to install OpenVPN on a Raspberry Pi.

If you don't want to watch the video, the truncated version of the instructions is -- on a Raspberry Pi running Raspbian Jessie, run this command:

$ sudo curl -L https://install.pivpn.io | bash

Since this is a shell script being executed from a random website, you should inspect the script first.

For example:

$ curl -l https://install.pivpn.io >pivpn.sh
$ less pivpn.sh
.... inspect
$ sudo pivpn.sh
$ rm pivpn.sh

About the Author(s)

(davidherron.com) David Herron : David Herron is a writer and software engineer focusing on the wise use of technology. He is especially interested in clean energy technologies like solar power, wind power, and electric cars. David worked for nearly 30 years in Silicon Valley on software ranging from electronic mail systems, to video streaming, to the Java programming language, and has published several books on Node.js programming and electric vehicles.