I made this in Java because of portability between different OSs, anyone is free to build similar stuff using different platform. Currently supports only ipv4 addresses.
You need to install java on your OS to use this program. You can use the generated config files with official wireguard clients.
Explanation of the different fields.
Your server's public IP.
Should be the same port mentioned in your wireguard config file.
Enter your server's public key here. To see it, run cat publickey
, on your server, in the /etc/wireguard folder (or wherever you've put your wireguard key).
IP for your client, where it should be a subnet of wireguard subnet IP, put /32 after the IP.
Any Dns of your choice, in case you have pihole or similer running on your server use that IP. Often, this will be your server's (wireguard) IP.
Hope this will make things bit easier.
Once you generate the config, write the config name and press enter to save the config file and corresponding QR code to the application folder.
To create multiple configs on one go, just select the check box and write down how many clients you need, all files will be saved on the same directory where .jar file is.
Leave the last subnet empty (ex: 10.0.0)
Select the first client subnet (preferably 2 if server subnet ends at 1)
Just select the check box and write down how many clients you need(less than 255, for more change subnet first), all files will be saved on the same directory where .jar file is
This project is not affiliated in any ways with Jason A. Donenfeld or the WireGuard project.