From ab1c938f026ec01c2f988c405ff14a57bcd1530c Mon Sep 17 00:00:00 2001 From: robmobz Date: Thu, 23 Sep 2021 05:17:29 +0100 Subject: 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) --- docs/configuration/interfaces/wireguard.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/configuration/interfaces') diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst index 97444afe..8ba707f6 100644 --- a/docs/configuration/interfaces/wireguard.rst +++ b/docs/configuration/interfaces/wireguard.rst @@ -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. -- cgit v1.2.3