From: "M. Dietrich" <mdt@emdete.de>
To: Raffaele Spazzoli <rspazzol@redhat.com>, wireguard@lists.zx2c4.com
Subject: Re: dynamic reload of configuration file
Date: Sun, 17 Feb 2019 18:31:38 +0100 [thread overview]
Message-ID: <1550417524.ondhfeso9t.astroid@morple.none> (raw)
In-Reply-To: <CACOeLqLQjM1AQPpi31F_Fxvv02tFgD+27qFGjnLnW8KFcy66Kw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 510 bytes --]
Quotation from Raffaele Spazzoli at Februar 17, 2019 16:21:
> I'm using wireguard to build a VPN mesh. The nodes of the mesh are dynamic
> and can come and go at any time. Is there a way to reconfigure a wireguard
> device without restarting it or losing the current connections?
yes.
> If yes, how can it be done?
other way around: configure wireguard with the `wg` command
and that is persisted to the configuration file.
on restart the file is read and your config applied.
M. Dietrich
[-- Attachment #1.2: Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next prev parent reply other threads:[~2019-02-17 17:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-17 15:21 dynamic reload of configuration file Raffaele Spazzoli
2019-02-17 17:22 ` Samuel Holland
2019-02-17 17:31 ` M. Dietrich [this message]
2019-02-18 13:51 ` Raffaele Spazzoli
2019-02-18 14:56 ` Lonnie Abelbeck
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=1550417524.ondhfeso9t.astroid@morple.none \
--to=mdt@emdete.de \
--cc=rspazzol@redhat.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).