This is an automated archive.
The original was posted on /r/wireguard by /u/chaos2tw on 2024-01-12 20:00:41+00:00.
Hello,
I’m using WireGuard on a PiHole VPS. When I SSH to the VPS I am presented with the necessary QR codes. If I want to add users I do sudo ./regen-vpn-keys.sh (#) where # is the number of keys and QR codes it generates. It doesn’t store these anywhere but in, I think, wg0.conf. If I don’t take a picture of the QR codes I don’t know how to access them again.
Looking at this website, I know how to generate the QR codes but they are all stored in wg0.conf.
Is there a way to use:
wg0.conf
user1.conf
user2.conf
And so on?
Or do I need to copy the user configs from wg0.conf to their own file and regenerate the QRd from there ?
Thanks for assisting!