diff options
author | Robert Göhler <github@ghlr.de> | 2023-06-12 20:53:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 20:53:55 +0200 |
commit | 4e9ceb5db4e8600be58cac6465adb44cbcea2711 (patch) | |
tree | 13fef9aedb6954a92f17bf6280cdbb8348b4f44e /docs | |
parent | 7ee12ddcca1ce1a5f3ee5ecae797a21d70c89c6b (diff) | |
parent | 00f9243bd67229016d773437624c1b47b06e364f (diff) | |
download | vyos-documentation-4e9ceb5db4e8600be58cac6465adb44cbcea2711.tar.gz vyos-documentation-4e9ceb5db4e8600be58cac6465adb44cbcea2711.zip |
Merge pull request #1026 from srividya0208/wg
added the private key command in the configuration example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/interfaces/wireguard.rst | 2 |
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 |