mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue