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

Create public cloud compute instance

Create PiVPN instance

curl -L | bash

Create VPN credentials

pivpn add

Download a VPN client for your platform

Final notes: