aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg-quick.8
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2017-12-12 23:10:08 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-12-13 16:28:39 +0100
commitaa35d9d81124ef81c8233803dbd44385eff9b5f5 (patch)
tree8333c907a16422ae299476e26fdbf94274d6c3bb /src/tools/wg-quick.8
parentkeygen-html: remove prebuilt file (diff)
downloadwireguard-monolithic-historical-aa35d9d81124ef81c8233803dbd44385eff9b5f5.tar.xz
wireguard-monolithic-historical-aa35d9d81124ef81c8233803dbd44385eff9b5f5.zip
wg-quick: add the "Table" config option
* Table=auto (default) selects the current behaviour * Table=off disables creation of routes altogether * All other values are passed through to "ip route add"'s table option Signed-off-by: Luis Ressel <aranea@aixah.de>
Diffstat (limited to 'src/tools/wg-quick.8')
-rw-r--r--src/tools/wg-quick.85
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/wg-quick.8 b/src/tools/wg-quick.8
index fd1d23f..2039094 100644
--- a/src/tools/wg-quick.8
+++ b/src/tools/wg-quick.8
@@ -79,6 +79,11 @@ MTU \(em if not specified, the MTU is automatically determined from the endpoint
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
+Table \(em Controls the routing table to which routes are added. There are two
+special values: `off' disables the creation of routes altogether, and `auto'
+(the default) adds routes to the default table and enables special handling of
+default routes.
+.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