PfSense WG remote access client gen script

Recently setup wireguard on my home pfsense install, and as I started to add peers for my different devices and people, it was a little clunky to me the way I had to swap back and forth between the cli to generate keys, etc.

I wrote a little script that you run in the cli, it generates everything you need, spits out a conf file, and gives you the values you need to add that peer in the UI. There’s probably even a way to automate the peer addition, but this suits my needs. Feel free to use this if you find yourself equally perturbed by the process.

It can be found in my github repo: GitHub - jbeez/PFSenseScripts: Random scripts to ease admistration of PfSense