Posts

How to install OpenVPN on Raspberry Pi

I recently had an SD card on my raspberry pi hosting my VPN corrupt, so I figured I would make a post about my process for reinstalling OpenVPN on Raspbian Stretch.

Our first step is to download the OpenVPN installation files. The most recent version can be found here. As of writing this guide, the most recent version is 2.4.6. Also, I am mostly following the official OpenVPN install guide, so if you run into any issues check there.
cd /opt/(sudo) wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.6.tar.gztar xfz openvpn-2.4.6.tar.gz Next, we need to install a few dependencies for OpenVPN.
sudo apt-get install libssl-dev liblzo2-dev libpam0g-dev -y Once those finish installing, we'll navigate to the newly created openvpn-2.4.6 directory and begin the install process. This process might take a good minute so just sit back and watch the magic work before your eyes.
cd openvpn-2.4.6sudo ./configuresudo makesudo make install One of the biggest reasons I wanted to setup Open…