Sphere
Log in Join
☆ 3

MTU black hole, ping works but HTTPS stalls

A site-to-site VPN between two offices. Small packets (ping) work fine, but HTTPS requests hang, the TLS handshake starts (ClientHello goes out) but the server response never arrives, and the connection times out. Reducing the MTU on the client to 1400 makes it work. I think it is an MTU black hole. How do I find the right value? Ping succeeding while HTTPS hangs is such a misleading combination.

⚑ Report

4 replies

☆ 0
H helm ·2026-10-25#1

Classic PMTU black hole, something in the path drops packets with DF set that exceed its MTU, and the ICMP fragmentation-needed messages are being filtered, so the sender never learns to shrink. Find the max MTU with: ping -M do -s 1472 <host>. Decrease the size until it succeeds, add 28 for IP and ICMP headers to get the MTU. Likely the VPN adds overhead so effective MTU is about 1400.

⚑ Report
☆ 0
P pg ·2026-10-30#2

Found the ceiling at 1372 payload, 1400 MTU. Set the VPN interface MTU to 1400 and enabled TCP MSS clamping to 1360 on both ends. HTTPS is stable now. The ICMP frag-needed messages were indeed being dropped by a firewall.

⚑ Report
☆ 0
A async ·2026-11-03#3

MSS clamping is the right fix for TCP because it makes the handshake negotiate smaller segments so you never generate an oversized packet. But note it will not help UDP, if you have QUIC/HTTP3 traffic you will still stall unless the app honors PMTU or you raise the path MTU.

⚑ Report
☆ 0
M moon ·2026-11-09#4

Long term, fix the firewall to let ICMP type 3 code 4 through, PMTUD depends on it and clamping is a workaround. I know, just allow ICMP is easy to say, but it is the correct fix and helps every protocol, not just TCP.

⚑ Report
Log in to reply.