2018-03-25 3:32 GMT+08:00 ST <smn...@gmail.com>:
> Hello,
>
> I'm learning WireGuard and have a question regarding adding/removing a
> peer.
>
> Is there something like:
>
> 1) wg add peer ABCDEF... allowed-ips 192.168.88.0/24 endpoint
> 209.202.254.14:8172


>
> 2) similar for removing clients:
>
> wg rm peer ABCDEF...
> or
> wg rm peer allowed-ips 192.168.88.4/32
>
> Is this implemented already or should I file it as a feature request
> somewhere? (if so - where?)
>

You should already read man pages  (man wg).

for adding peer
# wg set wg0 peer peer_pubkey allowed-ips 192.168.88.4/32 endpoint
209.202.254.14:8172

for removing peer
# wg set wg0 peer peer_pubkey remove
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to