From a2617a65ec6ca542168af9e7eda92e748cc9e569 Mon Sep 17 00:00:00 2001 From: mcfly722 <7221798@gmail.com> Date: Sat, 14 Sep 2024 20:06:43 +0300 Subject: [PATCH] mtu --- cloak-wg-helper/config.js | 5 +++-- cloak-wg-helper/index.html | Bin 10608 -> 12104 bytes 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cloak-wg-helper/config.js b/cloak-wg-helper/config.js index 10ec45a..c4593a0 100644 --- a/cloak-wg-helper/config.js +++ b/cloak-wg-helper/config.js @@ -8,7 +8,8 @@ var params = { wireguardClientPrivate: '', wireguardClientPublic: '', wireguardServerPrivate: '', - wireguardServerPublic: '' + wireguardServerPublic: '', + wireguardMTU: '' } @@ -136,7 +137,7 @@ sudo systemctl status cloak-client.service [Interface] PrivateKey = :wireguardClientPrivate Address = 10.1.1.2/32 -MTU = 1420 +MTU = :wireguardMTU PostUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE PostUp = ip route add :cloakServer/32 via :cloakGateway diff --git a/cloak-wg-helper/index.html b/cloak-wg-helper/index.html index 7d82ba2577410d217bcbb50b2605fb28813de024..8023b4eb3135b84ca6490fe6a914e1be691a9849 100644 GIT binary patch delta 617 zcmbVJO-n*S6ul4Xy}kyt4-$)%mZGMWK|)4EMT;aNX(y;p$}rzkpI>e4Cj|EoxOOGI zztEze(Y{UVR-Ks?q!v*O!`yT4opa}$dB1qc4x&OU@P@eNXMLVOM98R6j_#<)Z(^65 zy5C4pjBILibz*^E#Z=d!4sen7Xq_t5KyMzX1{6eGLQYoVL!6_w!U<$HRn7#zgB_s) zS-24;lUh{9nFou7xUTr3;Qoptz$Ta-dCn-h4#GNX(^s4{29sxWNf|y68Gi8ky$Y#O zBPsE~^023>2gU>~b+_@TnCktXtQ|^VZDC9Kf0pKh3uD@TO5^NQihHX`whf)_xxSnB zJR06pI>)pe=9#ceI1VP^zIMTgq5LI4P}Yz`+|hT!WYQYHpCK$jaX< mNg8xIWWmTI4*QyJ&;O*227iCZFF3`wD>kP+i*9J`c=i)^EQsR( delta 124 zcmX>R_aSJ59xtQwWPRTB$#HB(j7F1lS;U!*84M=xXA_^if>&#EnBXo>&M*dF1_cIB zhJeYAysne~2+K^~AQrXxp0o)gej5#>o#PbtWh9Dox&? MU<{9