I'm interested to learn, why would you want such a thing? The endpoint field is only ever a "hint" anyway, due to the roaming. On Sat, Dec 28, 2019, 13:12 Devin Smith wrote: > If I'm not mistaken, `wg set peer remove` removes the > whole peer - I'm looking to remove just the peer's endpoint attribute > [endpoint :]. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Friday, December 27, 2019 10:51 AM, Lonnie Abelbeck < > lists@lonnie.abelbeck.com> wrote: > > > > On Dec 27, 2019, at 9:51 AM, Devin Smith devinrsmith@protonmail.com > 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 peer > endpoint 0` ... > > > > Yes, this works: > > > > ------------------- > > > > wg set peer remove > > -- > > > > If you forget, "wg set --help" will remind you. > > > > Lonnie > > > _______________________________________________ > WireGuard mailing list > WireGuard@lists.zx2c4.com > https://lists.zx2c4.com/mailman/listinfo/wireguard >