From fd6bd795d47e9542f5693e29d2461a350f3e1a7a Mon Sep 17 00:00:00 2001 From: Michail Montesantos Date: Wed, 18 Dec 2024 23:44:05 +0100 Subject: [PATCH] Update documentation, add WG_SERVER_MTU --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c100cc4..e3b48388 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,8 @@ These options can be configured by setting environment variables using `-e KEY=" | `WG_DEVICE` | `eth0` | `ens6f0` | Ethernet device the wireguard traffic should be forwarded through. | | `WG_PORT` | `51820` | `12345` | The public UDP port of your VPN server. WireGuard will listen on that (othwise default) inside the Docker container. | | `WG_CONFIG_PORT`| `51820` | `12345` | The UDP port used on [Home Assistant Plugin](https://github.com/adriy-be/homeassistant-addons-jdeath/tree/main/wgeasy) -| `WG_MTU` | `null` | `1420` | The MTU the clients will use. Server uses default WG MTU. | +| `WG_MTU` | `null` | `1420` | The MTU the clients will use. | +| `WG_SERVER_MTU` | `` | `1420` | The MTU of the server, independent of WG_MTU, it defaults to Wireguard defaults if not set (1420). | | `WG_PERSISTENT_KEEPALIVE` | `0` | `25` | Value in seconds to keep the "connection" open. If this value is 0, then connections won't be kept alive. | | `WG_DEFAULT_ADDRESS` | `10.8.0.x` | `10.6.0.x` | Clients IP address range. | | `WG_DEFAULT_DNS` | `1.1.1.1` | `8.8.8.8, 8.8.4.4` | DNS server clients will use. If set to blank value, clients will not use any DNS. |