wg-access-server icon indicating copy to clipboard operation
wg-access-server copied to clipboard

API for adding/removing devices and downloading config

Open hongkongkiwi opened this issue 5 years ago • 2 comments

Hi there,

I plan to add wireguard to many servers and have the devices managed by wg-access-server.

It would be really great to have a REST API so I can automate several tasks via bash.

Here's an example flow:

  • Server is setup
  • Wireguard device added from new server using API
  • Wireguard client config downloaded from server using API

hongkongkiwi avatar Aug 01 '20 14:08 hongkongkiwi

Yep, this is something we can support eventually.

I'll leave this open as a feature request.

Place1 avatar Oct 18 '20 05:10 Place1

to add to this feature request a bit, being able to set things about the client normally implicit to the webUI, like AllowedIPs, would be amazing.

That'd allow a client to bridge in another network and would probably also end up helping https://github.com/Place1/wg-access-server/issues/49

Qapf avatar Oct 18 '20 20:10 Qapf