diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-22 19:24:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 19:24:39 +0100 |
commit | db828e38c3359e55859c8ea15add4979db411565 (patch) | |
tree | 26d153397951cf1320bab3d02c12fc485254f7f0 /docs/configuration | |
parent | 285bb81c490491d0887b0803a82f5be55e9a76c4 (diff) | |
parent | 3e346a419a30987d07e701dc0995638b0fd1aac0 (diff) | |
download | vyos-documentation-db828e38c3359e55859c8ea15add4979db411565.tar.gz vyos-documentation-db828e38c3359e55859c8ea15add4979db411565.zip |
Merge pull request #1196 from srividya0208/minorw
wireguard: incorrect syntax
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/interfaces/wireguard.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst index 036a9063..d8236fc9 100644 --- a/docs/configuration/interfaces/wireguard.rst +++ b/docs/configuration/interfaces/wireguard.rst @@ -131,10 +131,10 @@ 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 + set protocols static interface-route 192.168.1.0/24 next-hop-interface wg01 ******************* Firewall Exceptions |