Pivpn avec openvpn

Pré-requis

ouvrir un port sur le routeur ex:443
penser au firewall

documentation

Commandes pivpn

-a, add [nopass]     Create a client ovpn profile, optional nopass
-c, clients          List any connected clients to the server
-d, debug            Start a debugging session if having trouble
-l, list             List all valid and revoked certificates
-r, revoke           Revoke a client ovpn profile
-h, help             Show this help dialog
-u, uninstall        Uninstall PiVPN from your system!
-up, update          Updates PiVPN Scripts
-bk, backup          Backup Openvpn and ovpns dir

bug

pivpn -d ou pivpn -r
Missing setup vars file!

Solution:
sudo cp /etc/pivpn/setupVars.conf dans /etc/pivpn/openvpn/