summaryrefslogtreecommitdiff
path: root/docs/configuration/interfaces/wireguard.rst
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2023-06-08 02:18:27 -0400
committersrividya0208 <a.srividya@vyos.io>2023-06-08 02:18:27 -0400
commit00f9243bd67229016d773437624c1b47b06e364f (patch)
treeb242205b992326fd3e2faee1f53b84650acb9cb7 /docs/configuration/interfaces/wireguard.rst
parentb41f753f3c315e36a2867d1e139e479d8ed75281 (diff)
downloadvyos-documentation-00f9243bd67229016d773437624c1b47b06e364f.tar.gz
vyos-documentation-00f9243bd67229016d773437624c1b47b06e364f.zip
added the private key command in the example configuration which is a mandate
option
Diffstat (limited to 'docs/configuration/interfaces/wireguard.rst')
-rw-r--r--docs/configuration/interfaces/wireguard.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst
index 18a888df..5eb10fe8 100644
--- a/docs/configuration/interfaces/wireguard.rst
+++ b/docs/configuration/interfaces/wireguard.rst
@@ -194,6 +194,7 @@ traffic.
set interfaces wireguard wg01 peer to-wg01 port '51820'
set interfaces wireguard wg01 peer to-wg01 public-key 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
set interfaces wireguard wg01 port '51820'
+ set interfaces wireguard wg01 private-key 'OLTQY3HuK5qWDgVs6fJR093SwPgOmCKkDI1+vJLGoFU='
set protocols static route 192.168.1.0/24 interface wg01
@@ -291,6 +292,7 @@ value needs to be lower than the UDP timeout.
pubkey BknHcLFo8nOo8Dwq2CjaC/TedchKQ0ebxC7GYn7Al00=
}
port 2224
+ private-key OLTQY3HuK5qWDgVs6fJR093SwPgOmCKkDI1+vJLGoFU=
}
The following is the config for the iPhone peer above. It's important to