Mawthuq-Software / Wireguard-Manager-and-API

A Wireguard VPN Server Manager and API to add and remove clients
GNU Affero General Public License v3.0
174 stars 24 forks source link

[FEATURE] Creating publicKey/presharedKey via this API? #7

Closed freerko closed 2 years ago

freerko commented 2 years ago

Hi,

as far as I understood this project, it allows me to roll out existing publicKeys and presharedKeys to (potentially many) VPN nodes, correct? I am looking for a solution that takes care of the wg genkey and wg genpsk part of the user setup as well, so an API that I can call to create the keys and giving me the complete connection details in return. Would this be possible with your project? I especially like the Expiry feature!

RaspberryTech01 commented 2 years ago

Hi,

Yes it allows you to roll out existing keys so long you have a private key. Preshared keys can be regenerated and sent if needed.

In terms of generating the keys through the API, we wont be implementing that as that is not secure.

That being said, I am going to be releasing a basic front end website/gui which allows you to connect to multiple of these backends. The front end can generate the keys for you. (But again there is no API as its all local)

Edit: GUI is out.