FULL AI ANALYSIS

WireGuard tunnel: ICMP passes but large TCP uploads stall — suspect GRO/GSO offload interaction on Linux host

Generated Oct 26, 2026, 9:23:15 AM

Analysis summary

When tunneled packets are subject to host NIC offloads (GRO/GSO/TSO) the kernel may coalesce or segment packets expecting the stack to re-segment before encryption/encapsulation; with WireGuard encapsulation this can mis-handle segment boundaries and crush TCP state leading to stalls. The fact that disabling GRO/GSO restores transfers strongly implicates offload interaction or a kernel regression in network stack handling for encapsulated encrypted traffic. MTU/MSS tweaks sometimes mask the symptom but don't fix underlying segmentation handling. Permanent fixes include kernel/driver updates that include the offload-handling regression fix, or keeping offloads disabled on the physical NIC and/or the WireGuard interface as a stopgap.

Possible causes

Kernel/driver regression in GRO/GSO/TSO handling for encapsulated traffic (WireGuard) causing malformed segments post-encryption

95%

MTU/MSS mismatch causing fragmentation at the host combined with offload that hides PTB ICMP replies

50%

Conntrack/NAT timeouts combined with reassembly issues under high throughput

30%

WireGuard userland/config mismatch (rare) such as incorrect endpoint or keepalive frequency

10%

Suggested fixes

1

Diagnostic step 1

Reproduce the issue while collecting packet captures on both client and server (tcpdump -s0 -w) to show segmentation/coalescing behavior and timing; compare before/after toggling offloads.

2

Diagnostic step 2

Temporarily disable offloads on the server's physical NIC: ethtool -K <iface> gro off gso off tso off; test large TCP uploads. This is reversible and confirms offload involvement.

3

Diagnostic step 3

If confirmed, check kernel changelogs and network driver updates for fixes; plan a maintenance kernel/driver upgrade on the host.

4

Diagnostic step 4

As a configuration mitigation, set MTU slightly smaller (e.g., 1380) and enable MSS clamping on the server firewall to avoid large coalesced segments; test throughput.

5

Diagnostic step 5

If running in production, schedule kernel/firmware updates and use offload disable as interim; keep a rollback plan to re-enable offloads if unintended performance regressions occur.