Diagnostic step 1
Temporarily allow ICMP 'fragmentation needed' (type 3/code 4) through the firewall/router on the path to confirm PMTU is the issue; verify via tcpdump that ICMP messages arrive at endpoint when reproducing large upload.
Generated Oct 20, 2026, 9:41:02 AM
Temporarily allow ICMP 'fragmentation needed' (type 3/code 4) through the firewall/router on the path to confirm PMTU is the issue; verify via tcpdump that ICMP messages arrive at endpoint when reproducing large upload.
Apply MSS clamping for TCP SYNs on the WireGuard egress interface on the router or the WireGuard host (nftables or iptables-mangle TCPMSS --clamp-mss-to-pmtu). For nftables: add a mangle rule to adjust tcp option MSS for SYN packets leaving the tunnel.
If using nftables and iptables coexistence, implement the clamp using the active packet filter (use nft add rule inet mangle POSTROUTING tcp flags syn tcp option maxseg set rt pmtu or equivalent) or enable iptables-legacy compatibility temporarily and add tcp_mss rule.
Disable NIC offloads temporarily on the server (ethtool -K eth0 gso off tso off gro off) and re-test large transfer to rule out offload-induced fragmentation issues.
If immediate firewall edits are not permitted, reduce the WireGuard tunnel MTU on both endpoints (wg set mtu 1280) and confirm uploads succeed; this is reversible and safe to test during maintenance windows.