diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 19:22:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-11-27 14:42:34 +0100 |
commit | ae374129ab46d7cfc6f089e6a1ad71968764397d (patch) | |
tree | 27f578e9ced87886880b891ab27a20203002ae4c /src/man/wg.8 | |
parent | reresolve-dns: remove invalid anchors on regex match (diff) | |
download | wireguard-tools-ae374129ab46d7cfc6f089e6a1ad71968764397d.tar.xz wireguard-tools-ae374129ab46d7cfc6f089e6a1ad71968764397d.zip |
wg: add syncconf command
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/man/wg.8')
-rw-r--r-- | src/man/wg.8 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/man/wg.8 b/src/man/wg.8 index afff749..043ffb0 100644 --- a/src/man/wg.8 +++ b/src/man/wg.8 @@ -94,6 +94,14 @@ Appends the contents of \fI<configuration-filename>\fP, which must be in the format described by \fICONFIGURATION FILE FORMAT\fP below, to the current configuration of \fI<interface>\fP. .TP +\fBsyncconf\fP \fI<interface>\fP \fI<configuration-filename>\fP +Like \fBsetconf\fP, but reads back the existing configuration first +and only makes changes that are explicitly different between the configuration +file and the interface. This is much less efficient than \fBsetconf\fP, +but has the benefit of not disrupting current peer sessions. The contents of +\fI<configuration-filename>\fP must be in the format described by +\fICONFIGURATION FILE FORMAT\fP below. +.TP \fBgenkey\fP Generates a random \fIprivate\fP key in base64 and prints it to standard output. |