Skip to content

Commit d58050b

Browse files
committed
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.
1 parent 7d7caec commit d58050b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wg-webclient/src/wg_device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl phy::Device for WgTunDevice {
410410

411411
fn capabilities(&self) -> DeviceCapabilities {
412412
let mut caps = DeviceCapabilities::default();
413-
caps.max_transmission_unit = 1500;
413+
caps.max_transmission_unit = 1392;
414414
caps.medium = Medium::Ip;
415415
caps
416416
}

0 commit comments

Comments
 (0)