An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hello @Scavi JS
Your test strongly points to a path MTU issue, but I wouldn’t conclude yet that Azure VPN Gateway itself is dropping valid packets unexpectedly.
You already configured the Sophos tunnel with:
MTU 1400
MSS 1350
which matches Microsoft’s current recommendation for Azure VPN/IPsec scenarios. Microsoft specifically recommends TCP MSS clamping at 1350 bytes and a tunnel-interface MTU of 1400 bytes.
The important part of your ping test is:
ping -f -l 1330 -> succeeds
ping -f -l 1331 -> fragmentation required
For IPv4 ICMP, the payload isn’t the whole packet. Adding the 20-byte IP header and 8-byte ICMP header means those tests correspond to roughly 1358 and 1359 bytes of IP packet size. So the effective path MTU you're observing is around 1358 bytes, which is lower than the 1400-byte tunnel MTU configured on the Sophos.
That means I would check whether there is another device/path segment imposing a smaller MTU, or whether PMTUD is being broken.
Microsoft explains that when a packet exceeds the path MTU with DF set, the intermediate device drops it and should return ICMP Fragmentation Needed (Type 3, Code 4). If that ICMP response is blocked by a firewall, the sender never learns the smaller MTU and TCP can repeatedly retransmit or stall.
Also note that Azure VPN Gateway explicitly states that IP fragmentation is not supported for ESP packets or for packets encapsulated inside the Site-to-Site tunnel. That makes avoiding fragmentation through the correct MSS/MTU even more important.
I would therefore verify:
- MSS clamping is actually applied to the TCP SYN/SYN-ACK packets crossing the Sophos tunnel, not just configured on the interface.
- ICMP Type 3 Code 4 is not being blocked in either direction.
- There are no additional firewalls/NVAs or WAN devices with an MTU below 1400.
- The Azure VM NIC remains at the normal MTU rather than being increased.
A packet capture on both sides would be especially useful. Check the TCP SYN/SYN-ACK and confirm the negotiated MSS. If you still see MSS 1460 or another value above 1350, the Sophos MSS clamp is not taking effect on that flow.
Regarding Azure-side diagnostics, VPN Gateway packet capture is available and can help confirm whether the packets are reaching/leaving the gateway. However, there isn’t a documented per-connection counter that simply says “dropped because packet exceeded MTU.” I would correlate a VPN Gateway packet capture with the Sophos capture during the same UTC test window.
Based on the current evidence, I’d treat this first as a PMTU/MSS mismatch somewhere in the end-to-end path, rather than a confirmed Azure VPN Gateway defect.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.