From e1a74ffbe02aafc6319e8e94a80794c281f0f3d9 Mon Sep 17 00:00:00 2001 From: Yancey Wang Date: Sun, 5 Nov 2023 11:29:57 -0500 Subject: [PATCH] Created about mtu (markdown) --- about-mtu.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 about-mtu.md diff --git a/about-mtu.md b/about-mtu.md new file mode 100644 index 0000000..ec47b57 --- /dev/null +++ b/about-mtu.md @@ -0,0 +1,5 @@ +udp2raw introduces it's own header for encryption, anti-replay and multiplex. As a result you have to decrease the MTU at upper level to "make room" for the extra overhead. This is not only for udp2raw, this happens for almost all tunnels. + +Since udp2raw itself doesn't have user space packet splitter, you have to tune the MTU at upper level appliation (for example: openvpn, wireguard, kcptun) to make sure they don't send packet too large for udp2raw. + +However, if you are not happy with this or your upper level application doesn't allow you to tune MTU, there is indeed a way to by pass the MTU limitation, see [[https://github.com/wangyu-/udp2raw/wiki/bypass-mtu-limitation]] \ No newline at end of file