Best practices for adding hosts

Ronan Lucio ronanlucio at gmail.com
Mon Dec 21 00:09:40 CET 2020


Hi,

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.

So far I use to add new peers to the "wg0.conf" file and execute a
"systemctl restart wg-quick at wg0".
The problem is all peers go down when I do it, and there's no
"systemctl reload" option.

If possible, I'd like to keep all configs on config files, so it's
possible to automate configuration via ansible.

Thanks,
Ronan


More information about the WireGuard mailing list