This site explains how digital privacy tools work — encryption, tracking, and identity protection. It is not legal or cybersecurity advice. What this is.

How a VPN MTU Limit Fragments a Tunnel Packet

Every network path has a Maximum Transmission Unit — a ceiling on how many bytes a single packet may carry across a given link. On a standard Ethernet segment that ceiling is 1,500 bytes. A VPN tunnel adds its own headers on top of the original packet before sending it across that same link, which means the space available for actual payload shrinks. When the combined size of the original packet plus the tunnel's overhead exceeds the MTU of the underlying network, something has to give: the packet must either be fragmented into smaller pieces or discarded entirely.

This article covers the specific sequence of events that occurs when an encapsulated tunnel packet crosses an MTU boundary — how the size mismatch is detected, how the network responds, and what the downstream effects look like at the receiving end. The subject is the data path itself, from the moment a packet enters the tunnel to the moment its fragments are reassembled, or fail to be.

Check Your Credit and Better Understand What’s Shaping Your Score

Access free credit scores, credit monitoring, and personalized insights to better understand your credit and financial options.

Learn more

How MTU Overhead Builds Up Inside a VPN Data Tunnel

When a host sends a packet through a VPN, the tunnel software wraps the original IP packet inside a new transport structure. As explained in detail when examining how a VPN encapsulates a packet inside a tunnel, the original packet becomes the payload of an outer packet. That outer packet carries its own IP header (20 bytes for IPv4), a UDP or TCP header (8 or 20 bytes respectively), and a protocol-specific tunnel header — for example, a WireGuard-style construction adds roughly 32 bytes of overhead between the outer UDP header and the encrypted payload. An encryption layer, described separately when covering how a VPN tunnel actually encrypts traffic, may append an authentication tag of 16 bytes or more. The total overhead across all these layers typically ranges from 40 to 80 bytes depending on the protocol and cipher suite in use.

Consider a packet generated at the application layer with a 1,460-byte TCP payload and a 40-byte IP-plus-TCP header, producing a 1,500-byte IP datagram — exactly at the Ethernet MTU. Once the tunnel software adds its own outer headers and the encryption tag, the resulting outer packet is, say, 1,560 bytes. The underlying physical link has an MTU of 1,500 bytes. The outer packet cannot fit. At this point the network must fragment it.

Fragmentation is the process by which a router or the sending host splits an oversized IP datagram into two or more smaller datagrams, each carrying a fragment of the original payload and each tagged with an identical IP identification value, a fragment offset, and a "more fragments" flag in the IP header. The receiving host buffers incoming fragments and reassembles them into the original datagram before passing it up the stack. This reassembly is not handled by intermediate routers — only the final destination performs it.

The fragmentation decision point depends on the IP Don't Fragment (DF) bit. If the DF bit is clear, a router that encounters an oversized packet is permitted to fragment it and forward the pieces. If the DF bit is set — which is the default for most modern TCP stacks because they rely on Path MTU Discovery — the router must instead drop the packet and send back an ICMP "Fragmentation Needed" message to the sender, reporting the MTU of the bottleneck link. The sender is then expected to reduce its packet size and retransmit.

Path MTU Discovery (PMTUD), defined in RFC 1191, is the mechanism by which a sender probes the path and learns the smallest MTU along it. It works by sending packets with the DF bit set and observing whether ICMP Type 3 Code 4 messages return. When they do, the sender lowers its effective MTU for that destination. The problem is that many network configurations — firewalls, middleboxes, and some ISP infrastructures — silently discard ICMP packets, which means the "Fragmentation Needed" signal never arrives. The sender keeps transmitting oversized packets, the router keeps dropping them, and the connection stalls or fails without any explicit error visible to the application.

A second mechanism exists to prevent this failure: the Maximum Segment Size (MSS) clamp. TCP negotiates an MSS value during the three-way handshake, and a VPN gateway can rewrite this value in transit — a technique called MSS clamping — to ensure that TCP segments fit inside the tunnel's reduced effective MTU. MSS clamping operates only on TCP; UDP and ICMP traffic carry no equivalent field and therefore cannot be clamped in the same way.

Technical Components That Govern Tunnel Packet Size

The network interface MTU is a property of the physical or virtual link layer. On Ethernet it is 1,500 bytes by default. Some links — particularly those using PPPoE for DSL connections — reduce this to 1,492 bytes because PPPoE itself consumes 8 bytes of the Ethernet frame. Jumbo frames can raise the MTU to 9,000 bytes or more on internal segments, but this is uncommon on paths that traverse the public internet.

The tunnel virtual interface is a software construct — a logical network adapter created by the VPN client — that presents a lower MTU to the operating system than the physical interface. By advertising a reduced MTU (commonly 1,420 bytes for WireGuard-style protocols, or 1,400 bytes for IPsec in tunnel mode), the virtual interface causes the OS to generate smaller packets before they enter the tunnel, leaving room for the encapsulation headers. This pre-fragmentation at the source is the preferred approach because it avoids fragmentation in transit.

The outer IP and transport headers consume a fixed number of bytes per packet. IPv4 headers are 20 bytes; IPv6 headers are 40 bytes. A UDP header is 8 bytes. These are non-negotiable costs that reduce the space available for the encrypted inner payload on every single packet, regardless of its content.

The encryption and authentication overhead depends on the cipher suite negotiated during the tunnel handshake. Block ciphers operating in CBC mode may pad the payload to a block boundary (16 bytes for AES), adding variable overhead. AEAD ciphers such as AES-GCM or ChaCha20-Poly1305 append a fixed-length authentication tag, typically 16 bytes, without block-boundary padding. The cipher suite selection therefore has a direct, measurable effect on how many bytes of overhead are added per packet.

ICMP is the signaling protocol that carries Path MTU Discovery messages. Its correct operation depends on intermediate firewalls and routers permitting ICMP Type 3 Code 4 packets to pass. When ICMP is blocked, the feedback loop that PMTUD relies on is broken, and the sender cannot adapt its packet size automatically.

The MSS field in TCP SYN packets is the only transport-layer knob available for influencing TCP segment size without modifying the application. A VPN gateway that performs MSS clamping rewrites this field to a value that accounts for tunnel overhead, preventing TCP from generating segments that would cause fragmentation after encapsulation.

Where MTU Mismatch Produces Unexpected or Silent Failures

The most disruptive failure mode is the "black hole" scenario: a path where ICMP is filtered and the DF bit is set. Packets are dropped silently at a router, no ICMP feedback reaches the sender, and the TCP connection either hangs indefinitely or times out after several retransmission attempts. From the application's perspective the connection appears to have been established — the TCP handshake completes because SYN and SYN-ACK packets are small enough to pass — but data transfer stalls as soon as the first full-size data segment is sent. This asymmetry, where small packets succeed and large packets fail, is a diagnostic signature of an MTU black hole.

UDP-based applications and protocols that do not use MSS clamping are particularly exposed. A UDP datagram carrying a 1,400-byte payload that gets encapsulated into a tunnel packet exceeding the path MTU will either be fragmented in transit — arriving as two pieces that must be reassembled — or dropped entirely if fragmentation is prohibited. Unlike TCP, UDP has no retransmission mechanism, so a dropped fragment means the entire original datagram is lost without notification.

Fragment reassembly itself introduces failure points. The receiving host must buffer all fragments of a datagram and wait for the final piece before passing the reassembled datagram up the stack. If any single fragment is lost — due to reordering, congestion, or a timeout — the entire datagram is discarded and must be retransmitted at a higher layer. Some stateful firewalls and NAT devices also struggle with fragmented packets because they cannot inspect the transport-layer header, which only appears in the first fragment; this can cause the firewall to drop subsequent fragments that lack the header it expects.

IPv6 handles fragmentation differently from IPv4. In IPv6, intermediate routers are not permitted to fragment packets at all; only the originating host may fragment. If an IPv6 packet is too large for a link, the router drops it and sends back an ICMPv6 Packet Too Big message. If that ICMPv6 message is filtered, the result is again a black hole. Because IPv6 tunnel interfaces do not always advertise a reduced MTU consistently across all VPN implementations, IPv6 traffic is statistically more likely to encounter this silent failure than equivalent IPv4 traffic on the same tunnel.

MSS clamping, while effective for TCP, does not address the underlying MTU problem — it merely prevents TCP from generating segments large enough to trigger it. If the tunnel MTU is set incorrectly or changes mid-session (for example, because the physical path changes), the clamped MSS value may no longer be appropriate, and fragmentation can resume.

What Network Measurements Reveal About Tunnel Fragmentation

Packet capture tools operating at the tunnel interface level can observe fragmentation directly. A capture on the physical egress interface will show oversized outer packets being split into fragments, each carrying the same IP identification value and successive fragment offsets. A capture on the tunnel's virtual interface, by contrast, shows the original inner packets before encapsulation — at this layer, no fragmentation is visible, because the virtual interface MTU has already constrained packet size if it is configured correctly.

ICMP-based path MTU probing tools can map the MTU ceiling along a specific path by sending probe packets of decreasing size with the DF bit set and recording at which size the ICMP "Fragmentation Needed" response disappears. This measurement reflects the MTU of the most constrained link along the path, not the MTU of the tunnel endpoint. The result is a point-in-time measurement; path MTU can change if routing shifts to a different physical path.

What such measurements do not show is the content of the encrypted payload. Because the inner packet is encrypted before encapsulation, a packet capture at the physical interface reveals only the outer headers and the ciphertext. The original source and destination addresses, the transport protocol, and the application data are not visible to an observer on the physical link. The fragmentation itself — the split, the fragment offsets, the reassembly — operates on the outer, unencrypted headers.

CISA's guidance on network segmentation and traffic inspection notes that encrypted tunnels present a visibility challenge for network monitoring tools, precisely because the inner packet headers are not inspectable in transit. This means that fragmentation-related performance problems inside a VPN tunnel may appear to a network operator as generic throughput degradation rather than as a diagnosable MTU event, because the diagnostic information is encapsulated within the ciphertext.

RFC 4821, which describes Packetization Layer Path MTU Discovery (PLPMTUD), was developed specifically to address the failure modes of ICMP-dependent PMTUD. It allows the transport layer to probe path MTU directly by sending packets of varying sizes and inferring the MTU from acknowledgment behavior, without relying on ICMP feedback. This approach is more robust in environments where ICMP is filtered, but it requires implementation at the transport layer and is not universally supported across all tunnel protocols in common deployment.

The MTU constraint is a structural property of layered networking: every header added by encapsulation reduces the space available for payload, and that reduction propagates through every packet crossing the tunnel for the duration of the session. The fragmentation behavior that results — whether handled gracefully by a correctly configured virtual interface MTU or silently by a black-holing router — is an observable consequence of how IP networking and tunnel overhead interact, not an anomaly unique to any particular VPN protocol.

Sources

Note: This explains how digital privacy and security tools work technically. It is not legal or cybersecurity advice, and it is not a substitute for a reader's own judgment about a real security concern. Check the cited sources for current guidance.

5 desks. How it works, not what to do.

Start from the top