Diagnostic step 1
Reproduce while capturing both sides: run tcpdump -s0 -w client.pcap on client (wg0) and tcpdump on server physical interface to show packets after encapsulation. Compare segment sizes.
Generated Oct 28, 2026, 9:44:48 AM
Reproduce while capturing both sides: run tcpdump -s0 -w client.pcap on client (wg0) and tcpdump on server physical interface to show packets after encapsulation. Compare segment sizes.
Temporarily disable offloads on server NIC and WireGuard host to confirm: ethtool -K eth0 gso off gro off tso off; ethtool -K wg0 gso off gro off tso off. Verify long upload completes.
If disabling offloads fixes it, avoid global disable by: a) set wg0 MTU conservatively (e.g., 1420) and retest; b) add iptables mangle FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu (ensure it matches the PREROUTING/forwarding path) and confirm it sees forwarded packets (use conntrack -L or tcpdump to verify), or use nftables equivalent.
Try enabling kernel TCP MTU probing: sysctl -w net.ipv4.tcp_mtu_probing=2 to allow endpoints to probe and discover lower PMTU.
If persistent: upgrade NIC driver/kernel or check vendor release notes for offload/tunnel fixes; consider per-interface offload toggles in systemd-networkd/udev to target only problematic interfaces.