Fix wg-quick MTU because it does bad stuff by default
This commit is contained in:
parent
8d363d2e66
commit
bedfae8424
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ in
|
||||||
address = [ "${cfg.cluster_ip}/16" ];
|
address = [ "${cfg.cluster_ip}/16" ];
|
||||||
listenPort = cfg.wireguard_port;
|
listenPort = cfg.wireguard_port;
|
||||||
privateKeyFile = "/var/lib/deuxfleurs/wireguard-keys/private";
|
privateKeyFile = "/var/lib/deuxfleurs/wireguard-keys/private";
|
||||||
|
mtu = 1420;
|
||||||
peers = map ({ publicKey, endpoint, IP, site_name, lan_endpoint, ... }: {
|
peers = map ({ publicKey, endpoint, IP, site_name, lan_endpoint, ... }: {
|
||||||
publicKey = publicKey;
|
publicKey = publicKey;
|
||||||
allowedIPs = [ "${IP}/32" ];
|
allowedIPs = [ "${IP}/32" ];
|
||||||
|
|
Loading…
Reference in a new issue