Skip to content

Instantly share code, notes, and snippets.

@Suzhou65
Last active September 17, 2020 06:49
Show Gist options
  • Select an option

  • Save Suzhou65/901c1a66d7efe421c5869c9d2465befb to your computer and use it in GitHub Desktop.

Select an option

Save Suzhou65/901c1a66d7efe421c5869c9d2465befb to your computer and use it in GitHub Desktop.
Raspbian install PiVPN

Raspbian install PiVPN

Download and running installation script from PiVPN website

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

Following installation will be like this:

  • PiVPN will warn you it need Static IP
  • Confirm Static IP address
  • Choosing local user
  • Choice pi
  • Installation mode
  • Choose OpenVPN
  • Choose Port for PiVPN using
  • Choose your DNS provider, Google DNS or CloudFlare DNS is recommended
  • Public IP or DNS, Choose public IP
  • Generating server and HMAC keys
  • Unattended upgrades choice, enable is recommended

After Installation successful

It will ask you Reboot your RaspberryPi

How to check PiVPN Service

sudo service openvpn status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment