This script should be run on the server where wireguard is running
- wireguard (Working and configured ready to configure clients, check out this guide for more)
- qrencode (If you want to be able to generate QR codes)
These are directories that are required/recommended by the script
- /etc/wireguard/clients/
- $HOME/wg-clients/ - Used if you would like to keep conf. files in a user accessable location for easier access at a later date
The inline comments should provide most of the information required.
Updated to provide the exact information requried for the wireguard tools on OpenWRT routers
Remember to set vars before usign the script
Feedback is encouraged. I wont be expanding the features of this much/at all as for now it does what I need, however, I fully welcome PRs & forks.