From 4bbbdc6ff4a7b2abf60f9f2524c7e612cf697c3f Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Wed, 21 Aug 2024 15:36:36 +0200 Subject: [PATCH] Fix: Disable mtu to fix network issues in some conditions --- rootfs/etc/openvpn/server/antizapret-tcp.conf | 2 +- rootfs/etc/openvpn/server/antizapret.conf | 2 +- rootfs/root/openvpn/templates/tcp.conf | 2 +- rootfs/root/openvpn/templates/udp.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rootfs/etc/openvpn/server/antizapret-tcp.conf b/rootfs/etc/openvpn/server/antizapret-tcp.conf index 6957c88..e47ab2b 100644 --- a/rootfs/etc/openvpn/server/antizapret-tcp.conf +++ b/rootfs/etc/openvpn/server/antizapret-tcp.conf @@ -16,7 +16,7 @@ txqueuelen 1000 keepalive 2 10 persist-tun persist-key -tun-mtu 1420 +#tun-mtu 1420 #scramble obfuscate password #tls-crypt keys/antizapret-tls-crypt.key 0 tcp-nodelay diff --git a/rootfs/etc/openvpn/server/antizapret.conf b/rootfs/etc/openvpn/server/antizapret.conf index 88e5b5f..e1b360a 100644 --- a/rootfs/etc/openvpn/server/antizapret.conf +++ b/rootfs/etc/openvpn/server/antizapret.conf @@ -16,7 +16,7 @@ txqueuelen 1000 keepalive 2 10 persist-tun persist-key -tun-mtu 1420 +#tun-mtu 1420 #scramble obfuscate password #tls-crypt keys/antizapret-tls-crypt.key 0 fast-io diff --git a/rootfs/root/openvpn/templates/tcp.conf b/rootfs/root/openvpn/templates/tcp.conf index 4606ecf..1a79f5c 100644 --- a/rootfs/root/openvpn/templates/tcp.conf +++ b/rootfs/root/openvpn/templates/tcp.conf @@ -38,7 +38,7 @@ remote-cert-tls server dev tun proto tcp keepalive 2 10 -tun-mtu 1420 +#tun-mtu 1420 #scramble obfuscate antizapret #key-direction 1 sndbuf 3670016 diff --git a/rootfs/root/openvpn/templates/udp.conf b/rootfs/root/openvpn/templates/udp.conf index 4db74bd..e8797ec 100644 --- a/rootfs/root/openvpn/templates/udp.conf +++ b/rootfs/root/openvpn/templates/udp.conf @@ -38,7 +38,7 @@ remote-cert-tls server dev tun proto udp keepalive 2 10 -tun-mtu 1420 +#tun-mtu 1420 #scramble obfuscate password #key-direction 1 sndbuf 3670016