Unable to add / remove peers #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there,
I don't seem to be able to modify any config.
Everything works fine if the interface doesn't exist.
However, I want to add / remove peers once the interface has been created. This is how I would expect to add a peer, but it doesn't work. (I figure if I leave replace peers out, it should just add a peer)
If I then add privatekey etc, it tries to add the interface again
get config and set a new peer, to remove set
removeMe
in peer options.This is an addon error in which it does not find the interface and tries to create a new one, an error that went unnoticed by me
@MorningLightMountain713 In this commit [
b8b39f4a2f
] i fixed this message and correctly set Wireguard configurations, the fix Will be releasing in the next tag (npm i wireguard-tools.js@next
) soonThats great! Thanks for the quick fix!
I'm changing the wg.js compiler, so it's easy to make quick changes.
wireguard-tools.js@2.0.0
is published 🎉