summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkroy-the-rabbit <kroy@kroy.io>2019-10-24 09:48:30 -0500
committerChristian Poessinger <christian@poessinger.com>2019-11-07 21:54:56 +0100
commit6e20b83178ea87ac0837969365672a5490099210 (patch)
tree885ee1cf67fbc04c7bd48e4d42dbb7b643bceeae
parentb5a7d9037c2f89a83bfff5b1490a41682a4d8d3a (diff)
downloadvyos-documentation-6e20b83178ea87ac0837969365672a5490099210.tar.gz
vyos-documentation-6e20b83178ea87ac0837969365672a5490099210.zip
wireguard: Update example run show output
show interfaces wireguard X example updated to reflect new output
-rw-r--r--docs/vpn/wireguard.rst31
1 files changed, 20 insertions, 11 deletions
diff --git a/docs/vpn/wireguard.rst b/docs/vpn/wireguard.rst
index a9d27330..abd8a256 100644
--- a/docs/vpn/wireguard.rst
+++ b/docs/vpn/wireguard.rst
@@ -150,17 +150,26 @@ Operational commands
.. code-block:: sh
vyos@wg01# run show interfaces wireguard wg01
-
- interface: wg01
- public key: xHvgSJC8RTClfvjc0oX6OALxU6GGLapjthjw7x82CSw=
- private key: (hidden)
- listening port: 12345
-
- peer: 9Ek3R30mG6Vk+GHsENtPF0b9Ul+ftxx4dDBa1bdBxX8=
- endpoint: 192.168.0.142:12345
- allowed ips: 10.2.0.0/24
- latest handshake: 4 minutes, 22 seconds ago
- transfer: 860 B received, 948 B sent
+ interface: wg1
+ description: VPN-to-wg01
+ address: 10.2.0.1/24'
+ public key: RIbtUTCfgzNjnLNPQ/asldkfjhaERDFl2H/xUfbyjc=
+ private key: (hidden)
+ listening port: 53665
+ peer: to-wg02
+ public key: u41jO3OF73Gq1WARMMFG7tOfk7+r8o8AzPxJ1FZRhzk=
+ latest handshake: 0:01:20
+ status: active
+ endpoint: 192.168.0.124:12345
+ allowed ips: 10.2.0.0/24
+ transfer: 42 GB received, 487 MB sent
+ persistent keepalive: every 15 seconds
+ RX:
+ bytes packets errors dropped overrun mcast
+ 45252407916 31192260 0 244493 0 0
+ TX:
+ bytes packets errors dropped carrier collisions
+ 511649780 5129601 24465 0 0 0
**Show public key of the default key**