aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-07-11 23:24:12 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2018-07-11 23:24:48 -0700
commit1ff764f73dbab2d5df934c1073e9f6e99f7ddf5d (patch)
treeab767f664c0da0f67062b8ae7041c0b5b4ba8dcd /doc
parentnet/wireguard: import from ebuild (diff)
downloadnetifrc-1ff764f73dbab2d5df934c1073e9f6e99f7ddf5d.tar.gz
netifrc-1ff764f73dbab2d5df934c1073e9f6e99f7ddf5d.tar.bz2
netifrc-1ff764f73dbab2d5df934c1073e9f6e99f7ddf5d.zip
doc: usage example for wireguard
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/net.example.Linux.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 6a57e43..c0cfd38 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -1214,6 +1214,15 @@
# interfaces, you can do this here.
#firewalld_zone_eth0="myzone"
+#-----------------------------------------------------------------------------
+# Wireguard support
+#
+# Wireguard can be configured either by passing a config file
+#wireguard_wg0="/path/to/file.conf"
+#
+# Wireguard can also be configured by passing explicit settings
+#wireguard_wg0="private-key /path/to/whatever listen-port 1234 peer ABCDEF= endpoint 1.2.3.4:2468"
+
##############################################################################
# ADVANCED CONFIGURATION
#