#
#
sudo su
curl -L https://install.pivpn.io > installer.sh
chmod +x installer.sh
./installer.sh
Good idea, if system will stay long time alone. Not so good idea, because of lack of control (inspection), which packages will be updated
reboot
login into local user, which is holding pivpn configuration files
list and add
pivpn list
pivpn add
Name: (client)
How many days should the certificate last? [1080]
Password: (pass)
now new user should be in the list and opvn config generated and can be found
ls -la /home/(config user)/ovpns/
(client).ovpn
You can copy config file in any desired way (scp probably is the best).
Or generate QR-code for WireGuard Android's application
pivpn -qr
Books: