remove peer endpoint

Devin Smith devinrsmith at protonmail.com
Fri Dec 27 16:51:22 CET 2019


Is it possible to remove the endpoint of a peer via the `wg set` command? All of the other peer attributes (preshared-key, persistent-keepalive, allowed-ips) are removable in this fashion (and documented in the man page). I've tried `wg set <interface> peer <base64-public-key> endpoint 0`, `endpoint off`, `endpoint ""`, and `remove endpoint`.

My workaround for now is to just remove the whole peer, and then re-set the other attributes.

If it is not possible to currently do this with `wg set`, the syntax `remove <attribute-name>` might be a good way to generalize the notion of unsetting any peer attribute.

Thanks,
-Devin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20191227/89554d36/attachment.html>


More information about the WireGuard mailing list