aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/wg.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/wg.4')
-rw-r--r--share/man/man4/wg.426
1 files changed, 14 insertions, 12 deletions
diff --git a/share/man/man4/wg.4 b/share/man/man4/wg.4
index 335d3e70b64a..29215bd438ff 100644
--- a/share/man/man4/wg.4
+++ b/share/man/man4/wg.4
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 9, 2021
+.Dd March 12, 2021
.Dt WG 4
.Os
.Sh NAME
@@ -68,7 +68,7 @@ interface.
The private key of the
.Nm
interface.
-.It Cm pre-shared-key
+.It Cm preshared-key
Defines a pre-shared key for the
.Nm
interface.
@@ -76,9 +76,9 @@ interface.
A list of allowed IP addresses.
.It Cm endpoint
The IP address of the WiredGuard to connect to.
-.It Cm peer-list
+.It Cm peers
A list of peering IP addresses to connect to.
-.It Cm persistent-keepalive
+.It Cm persistent-keepalive-interval
Interval, in seconds, at which to send persistent keepalive packets.
.El
.Pp
@@ -188,6 +188,11 @@ Connect to a specific endpoint using its public-key and set the allowed IP addre
.Bd -literal -offset indent
# ifconfig wg0 peer public-key '7lWtsDdqaGB3EY9WNxRN3hVaHMtu1zXw71+bOjNOVUw=' endpoint 10.0.1.100:54321 allowed-ips 192.168.2.100/32
.Ed
+.Pp
+Remove a peer
+.Bd -literal -offset indent
+# ifconfig wg0 -peer public-key '7lWtsDdqaGB3EY9WNxRN3hVaHMtu1zXw71+bOjNOVUw='
+.Ed
.Sh DIAGNOSTICS
The
.Nm
@@ -240,14 +245,11 @@ device driver first appeared in
.Sh AUTHORS
The
.Nm
-device driver was originally written for
-.Ox
-by
-.An Matt Dunwoodie Aq Mt ncon@nconroy.net
-and ported to
-.Fx
-by
-.An Matt Macy Aq Mt mmacy@FreeBSD.org .
+device driver written by
+.An Jason A. Donenfeld Aq Mt Jason@zx2c4.com ,
+.An Matt Dunwoodie Aq Mt ncon@nconroy.net ,
+and
+.An Kyle Evans Aq Mt kevans@FreeBSD.org .
.Pp
This manual page was written by
.An Gordon Bergling Aq Mt gbe@FreeBSD.org