Fix wg-quick MTU because it does bad stuff by default

This commit is contained in:
Alex 2022-11-22 16:22:05 +01:00
parent 8d363d2e66
commit bedfae8424
Signed by: lx
GPG Key ID: 0E496D15096376BE
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ in
address = [ "${cfg.cluster_ip}/16" ];
listenPort = cfg.wireguard_port;
privateKeyFile = "/var/lib/deuxfleurs/wireguard-keys/private";
mtu = 1420;
peers = map ({ publicKey, endpoint, IP, site_name, lan_endpoint, ... }: {
publicKey = publicKey;
allowedIPs = [ "${IP}/32" ];