Différences entre les versions de « Pivpn avec openvpn »

De Marmits Wiki
 
Ligne 31 : Ligne 31 :
pivpn -d ou pivpn -r
pivpn -d ou pivpn -r
Missing setup vars file!
Missing setup vars file!
Solution:
sudo cp /etc/pivpn/setupVars.conf dans /etc/pivpn/openvpn/
sudo cp /etc/pivpn/setupVars.conf dans /etc/pivpn/openvpn/
</pre>
</pre>
* https://github.com/pivpn/pivpn/wiki/FAQ
* https://github.com/pivpn/pivpn/wiki/FAQ
[[Catégorie: Raspian]]
[[Catégorie: Raspian]]

Version actuelle datée du 20 janvier 2021 à 00:25

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/