summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2023-12-21 06:01:57 -0500
committersrividya0208 <a.srividya@vyos.io>2023-12-21 06:01:57 -0500
commitd563ffa846d5d9c2b1981bd33ff3f7e142b1736f (patch)
tree469b6b45e5e81cd74b3d446d08ca1343765110f0
parent8fe5bc54af35eb38deccfaeeee5395184817c680 (diff)
downloadvyos-documentation-d563ffa846d5d9c2b1981bd33ff3f7e142b1736f.tar.gz
vyos-documentation-d563ffa846d5d9c2b1981bd33ff3f7e142b1736f.zip
wireguard: incorrect syntax
-rw-r--r--docs/configuration/interfaces/wireguard.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst
index 036a9063..fe91fb32 100644
--- a/docs/configuration/interfaces/wireguard.rst
+++ b/docs/configuration/interfaces/wireguard.rst
@@ -131,7 +131,7 @@ traffic.
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 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
+ set interfaces wireguard wg01 peer to-wg01 pubkey 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
set interfaces wireguard wg01 port '51820'
set protocols static route 192.168.1.0/24 interface wg01