diff options
author | 2020-06-23 10:15:19 +0000 | |
---|---|---|
committer | 2020-06-23 10:15:19 +0000 | |
commit | 303f3f5f715afd84aeb19c755a44371429652ba4 (patch) | |
tree | 376fd4a58617a40ebf7a2cb9264146df907cb4d1 | |
parent | Enable MPSAFE start routine to keep encryption workers more active. (diff) | |
download | wireguard-openbsd-303f3f5f715afd84aeb19c755a44371429652ba4.tar.xz wireguard-openbsd-303f3f5f715afd84aeb19c755a44371429652ba4.zip |
'wgkey (pub)' was renamed to 'wgpubkey'.
-rw-r--r-- | share/man/man4/wg.4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man4/wg.4 b/share/man/man4/wg.4 index d74d81d6d7a..0c69c81c267 100644 --- a/share/man/man4/wg.4 +++ b/share/man/man4/wg.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wg.4,v 1.2 2020/06/21 15:23:59 jmc Exp $ +.\" $OpenBSD: wg.4,v 1.3 2020/06/23 10:15:19 tobhe Exp $ .\" Copyright (c) 2020 Matt Dunwoodie <ncon@noconroy.net> .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -13,7 +13,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 21 2020 $ +.Dd $Mdocdate: June 23 2020 $ .Dt WG 4 .Os .Sh NAME @@ -129,7 +129,7 @@ When an interface has a private key set with the corresponding public key is shown in the status output of the interface, like so: .Bd -literal -offset indent -wgkey (pub) NW5l2q2MArV5ZXpVXSZwBOyqhohOf8ImDgUB+jPtJps= +wgpubkey NW5l2q2MArV5ZXpVXSZwBOyqhohOf8ImDgUB+jPtJps= .Ed .Sh EXAMPLES Create two @@ -144,8 +144,8 @@ but demonstrates two interfaces on the same machine: ifconfig wg1 create wgport 111 wgkey `openssl rand -base64 32` rdomain 1 ifconfig wg2 create wgport 222 wgkey `openssl rand -base64 32` rdomain 2 -PUB1="`ifconfig wg1 | grep 'wgkey (pub)' | cut -d ' ' -f 3`" -PUB2="`ifconfig wg2 | grep 'wgkey (pub)' | cut -d ' ' -f 3`" +PUB1="`ifconfig wg1 | grep 'wgpubkey' | cut -d ' ' -f 2`" +PUB2="`ifconfig wg2 | grep 'wgpubkey' | cut -d ' ' -f 2`" ifconfig wg1 wgpeer $PUB2 wgendpoint 127.0.0.1 222 wgaip 192.168.5.2/32 ifconfig wg2 wgpeer $PUB1 wgendpoint 127.0.0.1 111 wgaip 192.168.5.1/32 |