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
1 changed files with 1 additions and 0 deletions

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]