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 7d82ba2..8023b4e 100644 Binary files a/cloak-wg-helper/index.html and b/cloak-wg-helper/index.html differ