summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-08-05 07:18:14 +0700
committerGitHub <noreply@github.com>2020-08-05 07:18:14 +0700
commit03366ba0bfcab837ba8a3aaa04568d464d5efe3b (patch)
treec7182354da1717ed845adf669fddad0433dcd20e
parent49623098741b38f0c4edbfa6ebaf34a877b3761b (diff)
parentd23434f1110ccdfe14d4bd1d72625496dc80ab8f (diff)
downloadvyos-documentation-03366ba0bfcab837ba8a3aaa04568d464d5efe3b.tar.gz
vyos-documentation-03366ba0bfcab837ba8a3aaa04568d464d5efe3b.zip
Merge pull request #300 from Elysweyr/fix/update-outdated-wireguard-docu
Wireguard: added port property for peer config
-rw-r--r--docs/vpn/wireguard.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/vpn/wireguard.rst b/docs/vpn/wireguard.rst
index 0bf53159..3580fac3 100644
--- a/docs/vpn/wireguard.rst
+++ b/docs/vpn/wireguard.rst
@@ -74,7 +74,7 @@ one.
set interfaces wireguard wg01 address '10.1.0.1/24'
set interfaces wireguard wg01 description 'VPN-to-wg02'
set interfaces wireguard wg01 peer to-wg02 allowed-ips '10.2.0.0/24'
- set interfaces wireguard wg01 peer to-wg02 address '192.168.0.142:12345'
+ set interfaces wireguard wg01 peer to-wg02 address '192.168.0.142'
set interfaces wireguard wg01 peer to-wg02 port '12345'
set interfaces wireguard wg01 peer to-wg02 pubkey 'XMrlPykaxhdAAiSjhtPlvi30NVkvLQliQuKP7AI7CyI='
set interfaces wireguard wg01 port '12345'