summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTimo Wilken <guix@twilken.net>2022-12-18 18:19:47 +0100
committerMathieu Othacehe <othacehe@gnu.org>2022-12-25 16:56:48 +0100
commit2967abf1a2ae6787842c04752949f3c214da9338 (patch)
tree6e1c356a36d3154e32eaaba24790c86a2dd5b106 /doc
parentf81c05d89bf9a91cb46524cb777f65d0295e6981 (diff)
services: wireguard: Allow specifying pre-shared keys.
* gnu/services/vpn.scm (<wireguard-peer>)[preshared-key]: New field. * doc/guix.texi (VPN Services): Document it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index e25692fd27..c5ae350a47 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -31770,6 +31770,10 @@ The optional endpoint for the peer, such as
@item @code{public-key}
The peer public-key represented as a base64 string.
+@item @code{preshared-key} (default: @code{#f})
+An optional pre-shared key file for this peer. The given file will not
+be autogenerated.
+
@item @code{allowed-ips}
A list of IP addresses from which incoming traffic for this peer is
allowed and to which incoming traffic for this peer is directed.