summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorAlex Oberhauser <alex.oberhauser@networld.to>2022-02-21 00:12:07 -0500
committerAlex Oberhauser <alex.oberhauser@networld.to>2022-02-21 00:12:07 -0500
commit09d7875ac48f86d03e021699761f43d7c9a14f6a (patch)
tree74dd4352cc128423e682967aa3a1fbed3801f77d /docs/configuration
parentd43077ed45dbba818b8c40ca5406c39e12c7df25 (diff)
downloadvyos-documentation-09d7875ac48f86d03e021699761f43d7c9a14f6a.tar.gz
vyos-documentation-09d7875ac48f86d03e021699761f43d7c9a14f6a.zip
Wireguard (Interfaces) making interface name consistent
Renaming wg0 to wg01 to make the interface name consistent with the rest of the document and between the command and the related output.
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/interfaces/wireguard.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst
index 50fffcf8..93093b5d 100644
--- a/docs/configuration/interfaces/wireguard.rst
+++ b/docs/configuration/interfaces/wireguard.rst
@@ -273,7 +273,7 @@ value needs to be lower than the UDP timeout.
.. code-block:: none
- wireguard wg0 {
+ wireguard wg01 {
address 10.172.24.1/24
address 2001:db8:470:22::1/64
description RoadWarrior
@@ -333,15 +333,15 @@ Operational Commands
Status
======
-.. opcmd:: show interfaces wireguard wg0 summary
+.. opcmd:: show interfaces wireguard wg01 summary
Show info about the Wireguard service.
It also shows the latest handshake.
.. code-block:: none
- vyos@vyos:~$ show interfaces wireguard wg0 summary
- interface: wg0
+ vyos@vyos:~$ show interfaces wireguard wg01 summary
+ interface: wg01
public key:
private key: (hidden)
listening port: 51820
@@ -361,7 +361,7 @@ Status
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
- wg0 10.0.0.1/24 u/u
+ wg01 10.0.0.1/24 u/u
.. opcmd:: show interfaces wireguard <interface>
@@ -371,7 +371,7 @@ Status
.. code-block:: none
vyos@vyos:~$ show interfaces wireguard wg01
- interface: wg0
+ interface: wg01
address: 10.0.0.1/24
public key: h1HkYlSuHdJN6Qv4Hz4bBzjGg5WUty+U1L7DJsZy1iE=
private key: (hidden)