From c8b0c07947d411d713e0dece33f92ae88e905008 Mon Sep 17 00:00:00 2001 From: Valerie Albert <78501405+Valerie277@users.noreply.github.com> Date: Mon, 26 Apr 2021 11:24:41 +0200 Subject: [PATCH] Added MTU With the mtu we send less packages but have them full. Increased my speed by 50%. --- wireguard-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard-install.sh b/wireguard-install.sh index 779246c..b8f5ce6 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -301,6 +301,7 @@ function newClient() { echo "[Interface] PrivateKey = ${CLIENT_PRIV_KEY} Address = ${CLIENT_WG_IPV4}/32,${CLIENT_WG_IPV6}/128 +MTU = 1500 DNS = ${CLIENT_DNS_1},${CLIENT_DNS_2} [Peer]