wg-api
wg-api copied to clipboard
creates an HTTP endpoint for a Wireguard® VPN server
Exist any way to get peer names using api given data? "oAe6pZFvW5qyn3zL1ANyj+px4jzCoudydJSR2lsJ+mw=": { "endpoint": "152.206.192.229:7192", "latestHandshake": "Oct 1, 2021 16:18:52 UTC", "transferRx": "4.82 MB", "transferTx": "24.626 MB", "allowedIps": [ "10.9.0.5/32"...
create peer add as endpoint last user's login ip instead of server ip , this makes the config unusable as i'd have to correct endpoint manually, otherwise it' ok
**workaround to append user info to tmp file** - fixes #6 - fixes #10 see my comments on #6 : > The same here. The problem is, `generate_and_install_server_config_file()` loops `$SAVED_FILE`...
The QR code given in the first installation works just fine. But, let's use (create or remove) functions as get after making the necessary config settings. When we reboot after...
Hello! I have found a small bug. I am able to create a peer, but I can't remove them afterwards. This is what I get; ``` root@server:~# curl http://x.x.x.x:3000/peer/create/removetest {...
I changed '/client/remove/:username' to '/peer/remove/:username' so it matches both the documentation and the other client management actions
Hello! First of all thanks for this software! But i have a small problem. When i generate new user: `:3000/peer/create/newclient` the response is empty public key and qr code not...