PI VPN WIREGUARD

Port forwarding with UDP not TCP

Installation

  • sudo apt-get update -y && sudo apt-get upgrade -y
  • curl -L https://install.pivpn.io | bash
  • To uninstall pivpn > pivpn uninstall
Usage
  • create the client profile > pivpn add
  • stored in > /home/user/configspivpn -qr
  • generate a QR Code to scan with a mobile device > pivpn -qr
  • to reconfigure > edit > /etc/pivpn/wireguard/setupVars.conf

::: Usage: pivpn [option]
:::
::: Commands:
::: -a, add Create a client conf profile
::: -c, clients List any connected clients to the server
::: -d, debug Start a debugging session if having trouble
::: -l, list List all clients
::: -qr, qrcode Show the qrcode of a client for use with the mobile app
::: -r, remove Remove a client
::: -off, off Disable a client
::: -on, on Enable a client
::: -h, help Show this help dialog
::: -u, uninstall Uninstall pivpn from your system!
::: -up, update Updates PiVPN Scripts
::: -bk, backup Backup VPN configs and user profiles

pivpn -a -n “PiVPNLocation”_”Name”_”Device”

pivpn -a -n LE_Pjot_Desktop
pivpn -a -n LE_Pjot_Laptop
pivpn -a -n LE_Pjot_iPhone
pivpn -a -n LE_Pjot_Android
pivpn -a -n LE_Pjot_Tablet
pivpn -a -n LE_An_Android