mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Update wireguard.rst
Corrected a mistake where it showed the wrong subnet in the description for the applied rule under local side annotated commands. (cherry picked from commit 65f8287e5a5af67d45b402982a84917b0341feb7)
This commit is contained in:
parent
962444205a
commit
ab1c938f02
@ -112,7 +112,7 @@ one.
|
||||
set interfaces wireguard wg01 port '51820' # Port of own server
|
||||
set protocols static route 192.168.2.0/24 interface wg01 # Static route to remote subnet
|
||||
|
||||
The last step is to define an interface route for 10.2.0.0/24 to get
|
||||
The last step is to define an interface route for 192.168.2.0/24 to get
|
||||
through the WireGuard interface `wg01`. Multiple IPs or networks can be
|
||||
defined and routed. The last check is allowed-ips which either prevents
|
||||
or allows the traffic.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user