how would one go about building an admin frontend?
tharre3 at gmail.com
Wed Jan 16 21:25:37 CET 2019
On 01/11, John Accoun wrote:
> I red the 'Web App provisioning Server' which I believe describes a
> possible solution for this use case. But I am confused with the whole data
> storage thing. Where do configuarations live? Are the configuration files
> at /etc/whireguard/ the source of truth? If I edit these when is the list
> of peers refreshed?
I assume you're referring to ?
/etc/wireguard is only relevant for wg-quick, if you edit files there
your changes will only take effect once you down/up your interface with
So you obviously don't want to do it that way.
> The above mentioned document suggests shelling out to command line tools.
> Is this the recommended way. Does a general purpose library for managing
> wireguard config exist?
I'm not sure where you read that? In any case, you can control wireguard
via netlink, and there is also a embeddable library in C
There also probably exists a netlink library for $YOUR_FAVORITE_LANG.
 See man 7 rtnetlink
PGP fingerprint: 42CE 7698 D6A0 6129 AA16 EF5C 5431 BDE2 C8F0 B2F4
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the WireGuard