Guide: A List of PiVPN commands

 Any and all advice, guides, and reviews are unbiased and based on my personal experience. If you buy through affiliate links, I may earn commissions, which helps support my website. This does not have an impact on posts or my opinion of any reviewed products. If you find this post helpful and want to say thanks, please buy me a coffee or take a look at my book on Amazon. It keeps this page ad-free. Thank you!

PiVPN is a personal VPN server you can install on a Raspberry Pi or any Debian LINUX setup. If you don’t own a Raspberry Pi, I recommend a Pi 4B kit. If you need a microSD card reader, this one is great and it’s both USB A and USB C – so works on macOS and Windows devices. I have also written a guide on how to setup PiVPN, just in case you need to reinstall. But onto all the useful commands!

Once installed, all commands are available by typing in the shell / terminal.

pivpn -command

Help

The help file will also list the commands, to invoke PiVPN help type

pivpn -h

Add a Client

pivpn -a

Remove a Client

pivpn -r

List all Clients

pivpn -l

Show the QR Code for a Client (needed for mobile app)

pivpn -qr

Show a List of Connected Clients

pivpn -c

Update PiVPN

pvpn -up

Backup PiVPN

pivpn - bk

Debug PiVPN

pivpn -d

Uninstall PiVPN

pivpn -u

Windows/MAC Setup

The configuration files are saved in:

/home/pi/configs

PiVPN config can be downloaded using SFTP. You can then import them into the Wireguard Windows or macOS desktop program.

 Any and all advice, guides, and reviews are unbiased and based on my personal experience. If you buy through affiliate links, I may earn commissions, which helps support my website. This does not have an impact on posts or my opinion of any reviewed products. If you find this post helpful and want to say thanks, please buy me a coffee or take a look at my book on Amazon. It keeps this page ad-free. Thank you!

Scroll to Top