When a VPN connects but larger transfers stall, investigate the size of the packets crossing the tunnel. A tunnel with a smaller maximum transmission unit (MTU) than the local network can let short exchanges succeed while larger packets repeatedly disappear, especially when packet-size feedback is missing. Establish the usable packet size, then correct the tunnel configuration, feedback path, or supported Transmission Control Protocol (TCP) maximum segment size (MSS) setting that the evidence identifies.
This is a useful investigation for a network administrator after a tunnel, carrier, or routing change. It is one possible cause of a stalled transfer; the diagnosis needs packet and gateway evidence before a production setting changes.
Why can small requests work while a transfer stalls?
A virtual private network (VPN) wraps traffic for its journey between gateways. That wrapping consumes space. The maximum packet that fits inside the tunnel can therefore be smaller than a packet the local network carries. The smallest supported packet limit along the route determines the path MTU.
For Internet Protocol version 4 (IPv4), traditional path MTU discovery sends packets with the “Don't Fragment” flag. A router that cannot forward an oversized packet returns an Internet Control Message Protocol (ICMP) error telling the sender to reduce its size. If that message never reaches the sender, it may continue retransmitting packets that cannot pass. RFC 2923 describes this TCP black-hole failure, including the confusing combination of working small exchanges and failing bulk transfers.
The important distinction is packet size, not the total file size. A large file can travel successfully as many suitably sized packets. A short transaction can stall if a particular packet exceeds the usable limit. Buying more bandwidth does not increase that limit.
MTU and MSS count different bytes
MTU is the space for an entire Internet Protocol (IP) packet on the relevant path or interface. MSS describes the TCP data allowance, excluding its IP and TCP headers. Keep the tunnel's outer packet, the inner packet it carries, and the TCP data inside that packet separate.
AWS provides a concrete example in its Site-to-Site VPN packet-sizing table. For the listed AES-GCM-16 encryption configuration with NAT traversal enabled, it gives an MTU of 1,438 bytes and an IPv4 MSS of 1,398 bytes. NAT means network address translation; NAT traversal wraps Internet Protocol Security (IPsec) traffic in User Datagram Protocol (UDP) packets to carry it through that translation. These are AWS's documented values for that configuration, not universal VPN settings or Network Box USA defaults.
The IPv4 calculation is:
1,438 bytes of inner IP packet space − 20 bytes of fixed IPv4 header − 20 bytes of fixed TCP header = 1,398 bytes of TCP data allowance.
For an illustrative diagnosis, suppose a capture at this tunnel's input shows 1,500-byte inner IPv4 packets being retransmitted without progress. They exceed the documented 1,438-byte budget by 62 bytes. The operator should investigate why the sender still uses that size and how the tunnel handles it. A 1,398-byte TCP allowance is the documented baseline for this example, subject to any smaller limit elsewhere on the route.
Do not subtract the tunnel wrapping again after starting from an inner MTU that already accounts for it. Conversely, do not use an outer interface's 1,500-byte limit as though all that space were available to the inner packet.
RFC 6691 explains the header calculation: the advertised MSS subtracts the fixed headers; the sender must additionally reduce the actual data it places in a packet when IP or TCP options consume more space. IPv6 has a larger fixed IP header, so the IPv4 subtraction is not a universal formula.
The AWS table also gives different limits when NAT traversal is disabled or other encryption combinations are used. A value copied from a working tunnel can therefore be wrong for another tunnel. Start with the actual encapsulation, address family, provider guidance, and observed path.
Find the packet-size boundary before changing policy
Choose one affected client, destination, and harmless transfer at a recorded time. Establish whether the TCP connection opens and where progress stops. Compare packet sizes, acknowledgments, retransmissions, and relevant gateway drops on the two sides of the tunnel. Repeated large packets with no advancing acknowledgment support a size-related investigation; they do not identify the dropping device by themselves.
Have the authorized operator use controlled, size-varying tests and suitably scoped captures. A failed ping alone cannot distinguish an oversized packet from a policy that simply refuses ping. Confirm the test's size units too: a tool may ask for payload bytes rather than total IP packet size. Test the affected application after the network probe.
Network Box USA's Managed Unified Threat Management (UTM+) service includes VPN, firewall policy, logging, traffic validation, tuning, and operational support. On the subscribed gateway path, that managed work helps correlate the failure with policy and tunnel behavior, then validate a supported correction. Agree the available diagnostic methods and settings for the actual platform.
If connection establishment itself fails, investigate routing and access before assuming MTU. Our asymmetric-routing explanation follows a different failure: replies reach a firewall without the expected connection state. For general delay or loss without a reproducible size boundary, use the application-path measurement guide.
Choose the repair that matches the tunnel
Restore required size feedback where the design supports it. Investigate whether the appropriate ICMP error is generated, reaches the sender, and is acted on. Correct the specific policy or implementation problem. Preserve the required error messages under the platform's supported security policy. IPv6 uses ICMPv6 Packet Too Big messages; RFC 8201 explains their role and why filtering them can break transfers.
Set a supported tunnel MTU when the encapsulated path requires it. Coordinate both peer configurations and the networks behind them. Some managed paths have explicit limitations: AWS states that its Site-to-Site VPN does not support path MTU discovery. Treat provider guidance as part of the design instead of assuming an ICMP policy change will fix every service.
Use TCP MSS adjustment where supported and appropriate. Cisco documents adjustment of the MSS in opening TCP packets so the peer sends smaller segments. This illustrates the mechanism, not a configuration recipe for other platforms. It does not resize UDP traffic. Verify both directions and start fresh TCP connections after the change. Confirm the supported feature, its processing cost, and the required configuration with the gateway operator.
Supported endpoints may also use packetization-layer path MTU discovery. RFC 4821 describes probing through the transport layer so sizing need not depend entirely on ICMP delivery. Check support and configuration on the deployed endpoints.
Accept the correction with the real transfer
Repeat the original upload and download using harmless data, fresh connections, and the intended security policy. Confirm completion, compare retransmissions, and check any required non-TCP application separately. If failover can choose another tunnel, include that path in the agreed validation because its usable packet size may differ.
Keep the before-and-after settings, relevant observations, acceptance result, and rollback condition with the change. Endpoint configuration, the remote peer, and carrier behavior remain with their respective owners unless additional work is agreed. To review the managed gateway portion, contact our team with the affected transfer, tunnel type, recent changes, and a high-level path description. Arrange sensitive captures through an agreed secure channel.