From d58050b719d39f4186e2d9fe6691b8febb7ac6e0 Mon Sep 17 00:00:00 2001 From: Frederic Henrichs Date: Mon, 11 Nov 2024 14:42:25 +0100 Subject: [PATCH] wg-webclient/wg_device: set mtu to 1392 to encouter ds-lite in combination with pppoe and routers that silently drop packages that exceed this limit. --- wg-webclient/src/wg_device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wg-webclient/src/wg_device.rs b/wg-webclient/src/wg_device.rs index ac894de..5d1d49f 100644 --- a/wg-webclient/src/wg_device.rs +++ b/wg-webclient/src/wg_device.rs @@ -410,7 +410,7 @@ impl phy::Device for WgTunDevice { fn capabilities(&self) -> DeviceCapabilities { let mut caps = DeviceCapabilities::default(); - caps.max_transmission_unit = 1500; + caps.max_transmission_unit = 1392; caps.medium = Medium::Ip; caps }