1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-06-01 03:00:47 +00:00

Added MTU

With the mtu we send less packages but have them full. Increased my speed by 50%.
This commit is contained in:
Valerie Albert 2021-04-26 11:24:41 +02:00 committed by GitHub
parent 7be2cf9fb4
commit c8b0c07947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]