Wireguard: add netmask caveat note (#3584)

With the default netmask no outgoing traffic will pass through the tunnel, so add a note about this in the sample configuration.
This commit is contained in:
Teppo Kurki 2024-03-31 10:38:58 +03:00 committed by GitHub
parent 67e5ba0c19
commit 21d9205e4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,8 @@ adding the following to your configuration:
peer_endpoint: wg.server.example
peer_public_key: EeFfGgHh...=
# Optional netmask (this is the default if omitted)
# Optional netmask (this is the default, no outgoing traffic
# will pass through the tunnel if omitted)
netmask: 255.255.255.255
# Optional endpoint port (WireGuard default if omitted)