aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg-quick.8
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-04-24 05:01:16 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-17 18:07:42 +0200
commit64c45d34d615b787255a4ca7b02f8d171eb5f672 (patch)
treec6c02c903c3f956e1664822c5a295127b240e22c /src/tools/wg-quick.8
parenttools: retry name resolution on temporary failure (diff)
downloadwireguard-monolithic-historical-64c45d34d615b787255a4ca7b02f8d171eb5f672.tar.xz
wireguard-monolithic-historical-64c45d34d615b787255a4ca7b02f8d171eb5f672.zip
tools: wg-quick: auto MTU discovery
Diffstat (limited to 'src/tools/wg-quick.8')
-rw-r--r--src/tools/wg-quick.86
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/wg-quick.8 b/src/tools/wg-quick.8
index 40c6650..e32971e 100644
--- a/src/tools/wg-quick.8
+++ b/src/tools/wg-quick.8
@@ -22,7 +22,7 @@ suitable for a few common use cases.
Use \fIup\fP to add and set up an interface, and use \fIdown\fP to tear down and remove
an interface. Running \fIup\fP adds a WireGuard interface, brings up the interface with the
-supplied IP addresses, sets up routes, and optionally runs pre/post up scripts. Running \fIdown\fP
+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.
@@ -65,6 +65,10 @@ which are handled by this tool:
Address \(em a comma-separated list of ip (v4 or v6) addresses (optionally with CIDR masks)
to be assigned to the interface. May be specified multiple times.
.IP \(bu
+MTU \(em if not specified, the MTU is automatically determined from the endpoint addresses
+or the system default route, which is usually a sane choice. However, to manually specify
+an MTU to override this automatic discovery, this value may be specified explicitly.
+.IP \(bu
PreUp, PostUp, PreDown, PostDown \(em script snippets which will be executed by
.BR bash (1)
before/after setting up/tearing down the interface, most commonly used