run curl -L https://install.pivpn.io | bash
and go through the menu prompts
Add a config pivpn add
======================================================================
::: Done! martinpi2.conf successfully created!
::: martinpi2.conf was copied to /home/pi/configs for easy transfer.
::: Please use this profile only on one device and create additional
::: profiles for other devices. You can also use pivpn -qr
::: to generate a QR Code you can scan with the mobile app.
======================================================================
Generate a QR code pivpn -qr
find connected clients pivpn clients
pivpn -u
/etc/wireguard/wg0.conf
/home/pi/configs/martinpi2.conf
pivpn -wg
curl -L https://install.pivpn.io | bash
vi /etc/pivpn/wireguard/setupVars.con
vi /etc/pivpn/wireguard/setupVars.conf
crontab -e
/home/pi/ha/bedroom.shl turn_off
181 vi /etc/pivpn/wireguard/setupVars.conf