summaryrefslogtreecommitdiff
path: root/docs/vpn
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-16 13:30:34 +0100
committerGitHub <noreply@github.com>2020-02-16 13:30:34 +0100
commitda802e30d5bad1fba8a16921438a787b872fe092 (patch)
tree69e16adbfd5278ce14ec3b7fb2a052c1a52d3e99 /docs/vpn
parent87d7dc9773f214d36a20b5621a0c08eacde297e0 (diff)
parent277ef7b0cd19decbaece3a5e36f0575bc4035932 (diff)
downloadvyos-documentation-da802e30d5bad1fba8a16921438a787b872fe092.tar.gz
vyos-documentation-da802e30d5bad1fba8a16921438a787b872fe092.zip
Merge pull request #207 from kroy-the-rabbit/patch-3
wireguard - named keypairs don't exist on crux
Diffstat (limited to 'docs/vpn')
-rw-r--r--docs/vpn/wireguard.rst37
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/vpn/wireguard.rst b/docs/vpn/wireguard.rst
index 82c38f69..a7241613 100644
--- a/docs/vpn/wireguard.rst
+++ b/docs/vpn/wireguard.rst
@@ -34,24 +34,6 @@ traffic to your system using this public key.
wg01# run show wireguard pubkey
u41jO3OF73Gq1WARMMFG7tOfk7+r8o8AzPxJ1FZRhzk=
-
-Generate named keypairs
-~~~~~~~~~~~~~~~~~~~~~~~
-
-Named keypairs can be used on a interface basis, if configured.
-If multiple wireguard interfaces are being configured, each can have
-their own keypairs.
-
-The commands below will generate 2 keypairs, which are not related
-to each other.
-
-.. code-block:: none
-
- wg01:~$ configure
- wg01# run generate wireguard named-keypairs KP01
- wg01# run generate wireguard named-keypairs KP02
-
-
Wireguard Interface configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -86,18 +68,6 @@ the wireguard interface `wg01`. Multiple IPs or networks can be defined and
routed, the last check is allowed-ips which either prevents or allows the
traffic.
-
-To use a named key on an interface, the option private-key needs to be set.
-
-.. code-block:: none
-
- set interfaces wireguard wg01 private-key KP01
- set interfaces wireguard wg02 private-key KP02
-
-The command ``run show wireguard named-keypairs pubkey KP01`` will then show the public key,
-which needs to be shared with the peer.
-
-
**remote side**
.. code-block:: none
@@ -169,13 +139,6 @@ Operational commands
vyos@wg01# run show wireguard keypair pubkey default
FAXCPb6EbTlSH5200J5zTopt9AYXneBthAySPBLbZwM=
-**Show public key of a named key**
-
-.. code-block:: none
-
- vyos@wg01# run show wireguard keypair pubkey KP01
- HUtsu198toEnm1poGoRTyqkUKfKUdyh54f45dtcahDM=
-
**Delete wireguard keypairs**