remove peer endpoint

Lonnie Abelbeck lists at
Fri Dec 27 17:51:40 CET 2019

> On Dec 27, 2019, at 9:51 AM, Devin Smith <devinrsmith at> wrote:
> 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` ...

Yes, this works:
wg set <interface> peer <base64-public-key> remove

If you forget, "wg set --help" will remind you.


More information about the WireGuard mailing list