Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2026-01-05 20:10:06 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2026-01-05 20:10:06 +0300
commitc117b8b27259afcb52a842a9ae8b0b8643f49b7e (patch)
tree3ca043ff06c51500f81a4049d47fa197cc10ab32
parent6041d10e3d5d8b0021dd596bdee8f0064a495f80 (diff)
mtu to 1250
-rw-r--r--web/assets/js/model/inbound.js4
-rw-r--r--web/assets/js/model/outbound.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index ba2304ef..8d4b6819 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -317,7 +317,7 @@ TcpStreamSettings.TcpResponse = class extends XrayCommonClass {
class KcpStreamSettings extends XrayCommonClass {
constructor(
- mtu = 1350,
+ mtu = 1250,
tti = 50,
uplinkCapacity = 5,
downlinkCapacity = 20,
@@ -2506,7 +2506,7 @@ Inbound.HttpSettings.HttpAccount = class extends XrayCommonClass {
Inbound.WireguardSettings = class extends XrayCommonClass {
constructor(
protocol,
- mtu = 1420,
+ mtu = 1250,
secretKey = Wireguard.generateKeypair().privateKey,
peers = [new Inbound.WireguardSettings.Peer()],
noKernelTun = false
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 295ac812..6fe34982 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -164,7 +164,7 @@ class TcpStreamSettings extends CommonClass {
class KcpStreamSettings extends CommonClass {
constructor(
- mtu = 1350,
+ mtu = 1250,
tti = 50,
uplinkCapacity = 5,
downlinkCapacity = 20,
@@ -1233,7 +1233,7 @@ Outbound.HttpSettings = class extends CommonClass {
Outbound.WireguardSettings = class extends CommonClass {
constructor(
- mtu = 1420,
+ mtu = 1250,
secretKey = '',
address = [''],
workers = 2,