This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN. Many thanks to "superjamie" that created this original guide, here i add only some instruction to configure AirVPN connection and an automatic reboot if the VPN connection is lost .
Install Raspbian lite "Download" to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to: