Hi,

On Wed, Aug 06, 2025 at 07:46:53AM -0400, Jon Chiappetta via Openvpn-devel 
wrote:
> With my modifications made, I can specifically and directly target an exact
> 1500 byte MTU VPN link so that it correctly matches the LAN and WAN side of
> the networks which is really important network wise and I can also let TCP
> at the kernel level beautifully handle huge streams of bulk data and
> ordering and delivery on my behalf as efficiently as possible. This would
> be a pretty nice modification if I could make it through to the end.

This is *exactly* what OpenVPN will do out of the box, as of today - do
an interface MTU of 1500 (unless told otherwise), and if you do TCP, 
the TCP layer will handle the necessary segmentation.  If you do UDP,
you get outside fragmentation.

Here's a few tcpdumps in different config scenarios, demonstrating
the 1500 bytes "inside" just fine

  https://community.openvpn.net/MTU%20and%20Fragments

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to