summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-01 04:08:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-01 04:08:29 +0200
commita56002a4b290052d78687c07b7350167f467fdd3 (patch)
treeb2cdc9527425a7005dd6065577aa22d2506d086c
parentreceive: error conditions are unlikely (diff)
downloadwireguard-monolithic-historical-a56002a4b290052d78687c07b7350167f467fdd3.tar.xz
wireguard-monolithic-historical-a56002a4b290052d78687c07b7350167f467fdd3.zip
wg.8: wording tweaksexperimental-0.0.20160630
Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rw-r--r--src/tools/wg.812
1 files changed, 7 insertions, 5 deletions
diff --git a/src/tools/wg.8 b/src/tools/wg.8
index c9401f0..67b4cf7 100644
--- a/src/tools/wg.8
+++ b/src/tools/wg.8
@@ -55,7 +55,8 @@ Sets configuration values for the specified \fI<interface>\fP. Multiple
for a peer, that peer is removed, not configured. If \fIlisten-port\fP
is not specified, the port will be automatically generated when the
interface comes up. Both \fIprivate-key\fP and \fIpreshared-key\fP must
-be a files, for security reasons, but if you're using
+be a files, because command line arguments are not considered private on
+most systems but if you are using
.BR bash (1),
you may safely pass in a string by specifying as \fIprivate-key\fP or
\fIpreshared-key\fP the expression: <(echo PRIVATEKEYSTRING). If
@@ -124,11 +125,12 @@ private key, and usually transmitted out of band to the author of the
configuration file. Required.
.IP \(bu
AllowedIPs \(em a comma-separated list of IP (v4 or v6) addresses with
-CIDR masks. The catch-all \fI0.0.0.0/0\fP may be specified for matching
-all IPv4 addresses, and \fI::/0\fP may be specified for matching all
-IPv6 addresses. Required.
+CIDR masks from which this peer is allowed to send incoming traffic and
+to which outgoing traffic for this peer is directed. The catch-all
+\fI0.0.0.0/0\fP may be specified for matching all IPv4 addresses, and
+\fI::/0\fP may be specified for matching all IPv6 addresses. Required.
.IP \(bu
-Endpoint \(em an endpoint IP or hostname, followed by a comma, and then a
+Endpoint \(em an endpoint IP or hostname, followed by a colon, and then a
port number. Optional.
.SH CONFIGURATION FILE FORMAT EXAMPLE