Large TCP uploads stall over WireGuard after MTU lowered on Linux server
Environment
Ubuntu 22.04 server running WireGuard 1.0.20220411 on kernel 5.15. Host MTU was lowered from 1500->1400 after migration. Peers: mobile clients and a remote Linux gateway. No hardware offload changes were made on the clients.
Symptoms
Small requests (HTTP GET, SSH) work normally. Large HTTPS uploads (S3 multipart, rsync over TCP) start then stall with near-zero throughput after ~30–90s. TCP shows retransmits and long stalls; transfers eventually time out.
Observations
iperf3 single-stream shows normal throughput at 64KB but stalls for 1MB streams. tcpdump on server's wg0 shows steady UDP keepalive and the inner TCP handshake/stream, but no ICMP 'fragmentation needed' messages observed. Firewall has default rules; upstream router filters ICMP outbound.
Already attempted
Increased WireGuard MTU to 1420 then 1380 on server and a client — transfers improved but not consistently. Restarted wg and netfilter. Added iptables rule to clamp MSS on FORWARD chain but used wrong chain for client traffic and didn't persist. Rebooted server.
Question
What's the most likely cause of large-TCP stalls after MTU was lowered, and which reversible steps will reliably restore large-transfer throughput without forcing all peers to reconfigure?
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
- Networking43% match
WireGuard tunnel: large TCP uploads stall after MTU lowered on Linux server — likely PMTU / MSS black hole
Open0 answers - Networking41% match
WireGuard: Large TCP uploads stall after MTU lowered on Linux server while small requests succeed
Open0 answers - Networking37% match
WireGuard tunnel: ICMP passes but large TCP uploads stall — suspect GRO/GSO offload interaction on Linux host
Open0 answers - Networking36% match
Large TCP uploads stall over WireGuard peer after MTU reduction on Linux server
Open0 answers - Networking35% match
WireGuard tunnel stalls on large TCP uploads after MTU change on Linux server
Open0 answers