Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 Slightly less indentation.
details: https://anonhg.NetBSD.org/src/rev/9fb649b9fdae
branches: trunk
changeset: 1013097:9fb649b9fdae
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Aug 20 22:20:50 2020 +0000
description:
Slightly less indentation.
diffstat:
share/man/man4/wg.4 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 50d9b5df9028 -r 9fb649b9fdae share/man/man4/wg.4
--- a/share/man/man4/wg.4 Thu Aug 20 22:19:56 2020 +0000
+++ b/share/man/man4/wg.4 Thu Aug 20 22:20:50 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wg.4,v 1.2 2020/08/20 22:19:56 riastradh Exp $
+.\" $NetBSD: wg.4,v 1.3 2020/08/20 22:20:50 riastradh Exp $
.\"
.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -70,7 +70,7 @@
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.Sh EXAMPLES
Typical network topology:
-.Bd -literal -offset abcdefgh
+.Bd -literal -offset abcd
wm0 = 1.2.3.4 bge0 = 4.3.2.1
Stationary server: Roaming client:
@@ -90,7 +90,7 @@
.Ed
.Pp
Generate key pairs on A and B:
-.Bd -literal -offset abcdefgh
+.Bd -literal -offset abcd
A# wg-keygen > /etc/wireguard/wg0
A# wg-keygen --pub < /etc/wireguard/wg0 > /etc/wireguard/wg0.pub
A# cat /etc/wireguard/wg0.pub
@@ -104,7 +104,7 @@
.Pp
Configure A to listen on port 1234 and allow connections from B to
appear in the 10.0.1.0/24 subnet:
-.Bd -literal -offset abcdefgh
+.Bd -literal -offset abcd
A# ifconfig wg0 create 10.0.1.0/24
A# wgconfig wg0 set private-key /etc/wireguard/wg0
A# wgconfig wg0 set listen-port 1234
@@ -119,7 +119,7 @@
.Pp
Configure B to connect to A at 1.2.3.4 on port 1234 and the packets can
begin to flow:
-.Bd -literal -offset abcdefgh
+.Bd -literal -offset abcd
B# ifconfig wg0 create 10.0.1.1/24
B# wgconfig wg0 set private-key /etc/wireguard/wg0
B# wgconfig wg0 add peer A \e
Home |
Main Index |
Thread Index |
Old Index