summaryrefslogtreecommitdiff
path: root/docs/vpn
diff options
context:
space:
mode:
authorElsysweyr <dennis@elsysweyr.com>2020-08-05 01:42:03 +0200
committerElsysweyr <dennis@elsysweyr.com>2020-08-05 01:42:03 +0200
commitd23434f1110ccdfe14d4bd1d72625496dc80ab8f (patch)
treec7182354da1717ed845adf669fddad0433dcd20e /docs/vpn
parent49623098741b38f0c4edbfa6ebaf34a877b3761b (diff)
downloadvyos-documentation-d23434f1110ccdfe14d4bd1d72625496dc80ab8f.tar.gz
vyos-documentation-d23434f1110ccdfe14d4bd1d72625496dc80ab8f.zip
added port property for peer config
Diffstat (limited to 'docs/vpn')
-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'