Best practices for adding hosts

Ronan Lucio ronanlucio at
Mon Dec 21 01:51:14 CET 2020

Hi Domi,

Right, it's not on the latest version. Actually, I used to run the
system version, so I can set it to automate unattended-updated.
Anyway, no problem updating it... ;-)

I tried executing it manually and got this:

    $ sudo wg syncconf wg0 <(exec /usr/bin/wg-quick strip wg0)>
    -bash: syntax error near unexpected token `newline'

Any clue?

Thank you,

On Mon, Dec 21, 2020 at 1:01 PM Tomcsanyi, Domonkos <domi at> wrote:
> Hi Ronan,
> There should be a reload option, check the changelog from August this year:
> Maybe you are not running the latest version? In that case just take the command from the patch and run it manually.
> Kind regards,
> Domi
> 21.12.2020 dátummal, 0:11 időpontban Ronan Lucio <ronanlucio at> írta:
> 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