Hello,

I'm wondering what the reason is that OpenVPN Community sets the default 
TUN-MTU to 1500 bytes, as seen here: 
https://github.com/OpenVPN/openvpn/blob/ed31cf2ab718d879615dea81e6a17d26537ab43a/src/openvpn/mtu.h#L70
In my understanding, because of the additional overhead that the VPN tunnel 
adds to the transmitted packages, the resulting packages on the link interface 
can be larger than 1500 bytes and willl not fit through a regular link. This 
should result in fragmentation which hurts the tunnel throughput.

So do the default settings assume that the VPN tunnel is built using a link 
that supports jumbo-frames? How does it make sense to expect a link with 
jumbo-frame-support when probably most OpenVPN connections will be made over 
the internet?

Could somebody please explain to me, what the idea behind this decision was? 
I'm very interested in if I've overlooked something.
Wouldn't it be more helpful to most OpenVPN users when the TUN-MTU is 
dynamically calculated based on the LINK-MTU which could default to 1500 (or 
even 1492 to support DSL/PPPoE internet connections)?

Thank you very much!
Marcus Wichelmann
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to