summaryrefslogtreecommitdiff
path: root/docs/configuration/interfaces/wireguard.rst
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-10-07 22:31:20 +0200
committerrebortg <github@ghlr.de>2021-10-07 22:31:20 +0200
commit471d64c3b260a7e79899422064a1ac2d0cafe4dc (patch)
treea411fd6464527fa1894347bacddbef2469e585e6 /docs/configuration/interfaces/wireguard.rst
parent5b1e916046c2617b3ddff5d2936ca97927fbe232 (diff)
parent62e84f8e7f0a26633e252b4b4ccfb1b535e45631 (diff)
downloadvyos-documentation-471d64c3b260a7e79899422064a1ac2d0cafe4dc.tar.gz
vyos-documentation-471d64c3b260a7e79899422064a1ac2d0cafe4dc.zip
Merge branch 'master' of github.com:vyos/vyos-documentation
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