Skip to content

Commit

Permalink
Fix: Disable mtu to fix network issues in some conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Aug 21, 2024
1 parent 275e082 commit 4bbbdc6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rootfs/etc/openvpn/server/antizapret-tcp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rootfs/etc/openvpn/server/antizapret.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rootfs/root/openvpn/templates/tcp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rootfs/root/openvpn/templates/udp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bbbdc6

Please sign in to comment.