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:
robmobz 2021-09-23 05:17:29 +01:00 committed by rebortg
parent 962444205a
commit ab1c938f02

View File

@ -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.