WireGuard tunnel stalls on large TCP uploads after MTU change on Linux server
Environment
Debian 11 host (kernel 5.10), WireGuard tools v1.0.202, server behind NAT on home ISP, clients: Ubuntu 22.04 laptop and macOS 13.4; wg0 MTU set to 1420 by admin to avoid fragmentation over VPN-over-DSL link.
Symptoms
Small HTTP requests, DNS lookups and ssh traffic work normally. Large uploads via rsync/scp or sustained iperf3 TCP send stall after a few MB; retransmits increase and throughput falls to near zero until connection times out. Short flows complete fine.
Observations
tcpdump on server shows the client sending large segments that are not ACKed; retransmits and zero-window not observed from server side. No ICMP 'fragmentation needed' messages seen. ip route shows path MTU 1500 on host, wg0 MTU 1420. Kernel TCP MSS remains high on one endpoint. Disabling TSO/SG offloads had no visible effect. Temporary lowering of wg0 MTU to 1300 improved but did not eliminate stalls.
Already attempted
Lowered wg0 MTU to 1300 (partial improvement). Added iptables mangle TCPMSS clamp rule manually (worked while active). Disabled TSO/SG/ GSO on physical NIC. Rebooted router and clients. Tried toggling Keepalive. No persistent solution; problem recurs after intermittent network changes.
Question
What is most likely causing large TCP uploads to stall over WireGuard after MTU changes and how can I make a reliable, reversible fix so large flows don't hang (without permanently disabling PMTU)?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Networking39% match
WireGuard: Large TCP uploads stall after MTU lowered on Linux server while small requests succeed
Open0 answers - Networking38% match
WireGuard tunnel: large TCP uploads stall after MTU lowered on Linux server — likely PMTU / MSS black hole
Open0 answers - Networking36% match
WireGuard tunnel: large TCP uploads stall after MTU reduction on Debian 12 server
Open0 answers - Networking35% match
Large TCP uploads stall over WireGuard after MTU lowered on Linux server
Open0 answers - Networking34% match
WireGuard tunnel: ICMP passes but large TCP uploads stall — suspect GRO/GSO offload interaction on Linux host
Open0 answers