PiVPN is an easy-to-use installer that configures a raspberry pi (or any other Debian based server) as a WireGuard or OpenVPN server. It securely configures the server using reasonable defaults.
Features
- easily configure WireGuard or OpenVPN
- run WireGuard and OpenVPN simultaneously
- generate QR codes for WireGuard clients
- configures defaults, allows you to modify them
Installation
curl -L https://install.pivpn.io | bash
PiVPN can be setup in AWS User data
Commands
pivpn ovpn pivpn wg
PiVPN CLI
# If more than one VPN type enabled, pass the type in the flag pivpn [ovpn|wg] # e.g pivpn wg add
Add a new Client:
# Add new client pivpn [ovpn|wg] add
View Connected Clients
# View client list pivpn [ovpn|wg] -c
View All Clients
# List all clients pivpn -l
Create Client config file without password
# Create a new client config file without a password pivpn -a nopass