mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-23 21:46:02 +03:00
Added MTU
With the mtu we send less packages but have them full. Increased my speed by 50%.
This commit is contained in:
parent
7be2cf9fb4
commit
c8b0c07947
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user