Custom VPN using PiVPN and public cloud

Motivation: Many public Wi-Fi networks block certain internet ports and protocols. For example, a public library might only allow ports 80 and 443 and the TCP protocol. Leaving aside the logic of such decisions by network owners, they prevent users from taking advantage of many commercial VPN products that rely on other ports. The goal of this article is to create a custom VPN solution to improve privacy even on such restricted public networks.

AWS, Google Cloud, Microsoft Azure
PiVPN

Create public cloud compute instance

Create PiVPN instance

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

Create VPN credentials

pivpn add

Download a VPN client for your platform

Final notes:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store