aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg-quick.8
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:51:38 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:51:38 +0100
commitb139499b28c418b7ddd1336998169ebe5b216e14 (patch)
tree5dd25420b5f9bf3dae1717f25f6f467b5ace1d4b /src/tools/wg-quick.8
parentcontrib: add reresolve-dns (diff)
downloadwireguard-monolithic-historical-b139499b28c418b7ddd1336998169ebe5b216e14.tar.xz
wireguard-monolithic-historical-b139499b28c418b7ddd1336998169ebe5b216e14.zip
wg-quick: allow for saving existing interface
Diffstat (limited to 'src/tools/wg-quick.8')
-rw-r--r--src/tools/wg-quick.85
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/wg-quick.8 b/src/tools/wg-quick.8
index 2839cc9..053d3e1 100644
--- a/src/tools/wg-quick.8
+++ b/src/tools/wg-quick.8
@@ -9,6 +9,8 @@ wg-quick - set up a WireGuard interface simply
.I up
|
.I down
+|
+.I save
] [
.I CONFIG_FILE
|
@@ -24,7 +26,8 @@ Use \fIup\fP to add and set up an interface, and use \fIdown\fP to tear down and
an interface. Running \fIup\fP adds a WireGuard interface, brings up the interface with the
supplied IP addresses, sets up mtu and routes, and optionally runs pre/post up scripts. Running \fIdown\fP
optionally saves the current configuration, removes the WireGuard interface, and optionally
-runs pre/post down scripts.
+runs pre/post down scripts. Running \fIsave\fP saves the configuration of an existing
+interface without bringing the interface down.
\fICONFIG_FILE\fP is a configuration file, whose filename is the interface name
followed by `.conf'. Otherwise, \fIINTERFACE\fP is an interface name, with configuration