Skip to content

Instantly share code, notes, and snippets.

@XeroHero
Created September 2, 2022 09:30
Show Gist options
  • Save XeroHero/ad79316caf166dc80cc8d6e4a93d66c7 to your computer and use it in GitHub Desktop.
Save XeroHero/ad79316caf166dc80cc8d6e4a93d66c7 to your computer and use it in GitHub Desktop.
#!/bin/bash
#PiVPN install
curl -L https://install.pivpn.io > install.sh
chmod +x install.sh
./install.sh --unattended options.conf
#create profile for WG
pivpn -a -n VPN;
#install vim to enable viewing of the file
apt install vim -y
#open the file
vim ~/configs/VPN.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment