Raspberry PI VPN

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

Wireguard

more

/etc/wireguard/wg0.conf

/home/pi/configs/martinpi2.conf