summaryrefslogtreecommitdiff
path: root/docs/configuration/interfaces/wireguard.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2021-10-06 21:33:23 +0200
committerGitHub <noreply@github.com>2021-10-06 21:33:23 +0200
commit0a0070d7d93ebb2de41dd84886f385931eecb737 (patch)
treef7e9a89f89f8f2ae866d5e89a7e9da1bd4b3c401 /docs/configuration/interfaces/wireguard.rst
parent25d7f7d78e514d7164091397faafea61902d29bd (diff)
parent7e642dafa29217658049d66020f0b231aa178514 (diff)
downloadvyos-documentation-0a0070d7d93ebb2de41dd84886f385931eecb737.tar.gz
vyos-documentation-0a0070d7d93ebb2de41dd84886f385931eecb737.zip
Merge pull request #628 from goodNETnick/goodNetNick
Wireguard interface typo
Diffstat (limited to 'docs/configuration/interfaces/wireguard.rst')
-rw-r--r--docs/configuration/interfaces/wireguard.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst
index bbcdc209..df6433c6 100644
--- a/docs/configuration/interfaces/wireguard.rst
+++ b/docs/configuration/interfaces/wireguard.rst
@@ -154,7 +154,7 @@ below is always the public key from your peer, not your local one.
set interfaces wireguard wg01 peer to-wg02 allowed-ips '192.168.2.0/24'
set interfaces wireguard wg01 peer to-wg02 address '192.0.2.1'
set interfaces wireguard wg01 peer to-wg02 port '51820'
- set interfaces wireguard wg01 peer to-wg02 pubkey 'XMrlPykaxhdAAiSjhtPlvi30NVkvLQliQuKP7AI7CyI='
+ set interfaces wireguard wg01 peer to-wg02 public-key 'XMrlPykaxhdAAiSjhtPlvi30NVkvLQliQuKP7AI7CyI='
set interfaces wireguard wg01 port '51820'
set protocols static route 192.168.2.0/24 interface wg01
@@ -185,10 +185,10 @@ traffic.
set interfaces wireguard wg01 address '10.1.0.2/30'
set interfaces wireguard wg01 description 'VPN-to-wg01'
- set interfaces wireguard wg01 peer to-wg02 allowed-ips '192.168.1.0/24'
- set interfaces wireguard wg01 peer to-wg02 address '192.0.2.2'
- set interfaces wireguard wg01 peer to-wg02 port '51820'
- set interfaces wireguard wg01 peer to-wg02 pubkey 'u41jO3OF73Gq1WARMMFG7tOfk7+r8o8AzPxJ1FZRhzk='
+ set interfaces wireguard wg01 peer to-wg01 allowed-ips '192.168.1.0/24'
+ set interfaces wireguard wg01 peer to-wg01 address '192.0.2.2'
+ set interfaces wireguard wg01 peer to-wg01 port '51820'
+ set interfaces wireguard wg01 peer to-wg01 public-key 'u41jO3OF73Gq1WARMMFG7tOfk7+r8o8AzPxJ1FZRhzk='
set interfaces wireguard wg01 port '51820'
set protocols static route 192.168.1.0/24 interface wg01