mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
added the private key command in the example configuration which is a mandate
option
This commit is contained in:
parent
b41f753f3c
commit
00f9243bd6
@ -194,6 +194,7 @@ traffic.
|
|||||||
set interfaces wireguard wg01 peer to-wg01 port '51820'
|
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 public-key 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
|
||||||
set interfaces wireguard wg01 port '51820'
|
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
|
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=
|
pubkey BknHcLFo8nOo8Dwq2CjaC/TedchKQ0ebxC7GYn7Al00=
|
||||||
}
|
}
|
||||||
port 2224
|
port 2224
|
||||||
|
private-key OLTQY3HuK5qWDgVs6fJR093SwPgOmCKkDI1+vJLGoFU=
|
||||||
}
|
}
|
||||||
|
|
||||||
The following is the config for the iPhone peer above. It's important to
|
The following is the config for the iPhone peer above. It's important to
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user