Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Reto <reto@labrat.space>
To: Ronan Lucio <ronanlucio@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Best practices for adding hosts
Date: Mon, 21 Dec 2020 01:24:24 +0100	[thread overview]
Message-ID: <20201221002424.imjfxu55bthvrmlg@feather.localdomain> (raw)
In-Reply-To: <CAF-5T9FDVTqPGsS=FcMMyWy2W6O1w7ShdhEEsGUAaQ+fnTMnVg@mail.gmail.com>

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

  reply	other threads:[~2020-12-21  0:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20 23:09 Ronan Lucio
2020-12-21  0:24 ` Reto [this message]
     [not found] ` <9B2F58B7-92A3-425E-9B28-DF715B5B5503@tomcsanyi.net>
2020-12-21  0:51   ` Ronan Lucio
     [not found]     ` <K12715-4.1608513012@spamhaus.org>
2020-12-21  1:55       ` Ronan Lucio
2020-12-25  6:43     ` Adrian Ho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201221002424.imjfxu55bthvrmlg@feather.localdomain \
    --to=reto@labrat.space \
    --cc=ronanlucio@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).