Set MTU to 1200 for the Wireguard interface, seems to mitigate problems when connected through the phone
All checks were successful
/ test (push) Successful in 1m57s

This commit is contained in:
Andrea Ciceri 2024-04-08 17:44:05 +02:00
parent 867c475918
commit 53eea2bced
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -6,6 +6,7 @@
imports = [../wireguard-common]; imports = [../wireguard-common];
networking.wireguard.interfaces.wg0 = { networking.wireguard.interfaces.wg0 = {
mtu = 1200;
ips = ["${vpn.${config.networking.hostName}.ip}/32"]; ips = ["${vpn.${config.networking.hostName}.ip}/32"];
peers = [ peers = [
{ {