]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ovpnmain.cgi: Set the MTU to as sensible default core197 master
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Sep 2025 14:04:16 +0000 (14:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Sep 2025 14:04:16 +0000 (14:04 +0000)
This should allow us to send packets without using too much
fragmentation in most cases when the actual interface still havs some
decent packet sizes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index fef135aa2ea46de61150f7bbde2bc07a8ee3d8c6..b63e5752cd8662506046d156c1b70e621c108a28 100644 (file)
@@ -128,7 +128,7 @@ my $col="";
        # Advanced Settings
        "DPROTOCOL"    => "udp",
        "DDEST_PORT"   => 1194,
-       "DMTU"         => 1500,
+       "DMTU"         => 1420,
        "MAX_CLIENTS"  => 100,
        "MSSFIX"       => "off",
        "TLSAUTH"      => "on",