Best practices for adding hosts

Reto reto at labrat.space
Mon Dec 21 01:24:24 CET 2020


On Mon, Dec 21, 2020 at 12:09:40PM +1300, Ronan Lucio wrote:
> I have a wireguard VPN server, and it's working gracefully, thanks for that.
> I'd like to ask you how can I add more peers without having to restart wg.

`man wg`... set / setconf / addconf depending on your specific usecase.

Also, `man wg-quick`

```
The strip command is useful for reloading configuration files without disrupting active sessions:
# wg syncconf wgnet0 <(wg-quick strip wgnet0)
```

As well as: https://git.zx2c4.com/wireguard-tools/commit/?id=a66219fa107e1bf0a03ebbbc405879c1f0a826c5


Cheers,
Reto


More information about the WireGuard mailing list