]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/mtu.texi
Ability to use TUN-interfaces under GNU/Linux
[govpn.git] / doc / mtu.texi
index ef0db05ebc6343fb7ff403eccf09983ad6afd952..00aa7e7e94e14d68941021aa08b27a8e7a2b67d7 100644 (file)
@@ -1,12 +1,11 @@
 @node MTU
-@section Maximum Transmission Unit
+@subsection Maximum Transmission Unit
 
-MTU command line argument is maximum allowable size of outgoing GoVPN's
-packets. It varies and depends on your environment, so probably has to
-be tuned. By default MTU equals to 1452 bytes: 40 bytes per IPv6 and 8
-bytes per UDP.
+MTU option tells what maximum transmission unit is expected to get from
+TUN/TAP interface. It is per-user configuration. Incoming packets of bigger
+sizes (including the padding byte) will be ignored. If either
+@ref{Noise, noise}, @ref{Encless, encryptionless mode} or @ref{CPR} are
+enabled, then all outgoing packets are filled up to that MTU value.
 
-Underlying TAP interface has lower MTU value -- 42 bytes smaller: 26
-bytes overhead on transport message and 14 bytes for Ethernet frame.
-Client and server will print what MTU value should be used on TAP
-interface.
+Default MTU equals to 1515 bytes (1500 bytes of Ethernet payload, 15
+bytes of Ethernet header).