mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Merge pull request #1196 from srividya0208/minorw
wireguard: incorrect syntax
This commit is contained in:
commit
db828e38c3
@ -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 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 address '192.0.2.2'
|
||||||
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 pubkey 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
|
||||||
set interfaces wireguard wg01 port '51820'
|
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
|
Firewall Exceptions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user