summaryrefslogtreecommitdiff
path: root/os/kay/modules/wireguard.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-29 08:24:14 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-29 10:11:28 +0530
commit67133cfc011ff2cd2bb5c7aea6c5ebb76ace2e74 (patch)
treecad9cf28aee3b7bd792922c84acaefdced689152 /os/kay/modules/wireguard.nix
parent7938a77a29a93f52f035c5b582b00f108ac455db (diff)
kay: bump mtu size
BSNL recently upgraded their BNGs, bumping the mtu to 1492. this can be seen on the pppd log. other users also reported this, so this is likely not a "misconfiguration" https://broadband.forum/threads/what-is-the-best-mtu-size-for-bsnl-ftth-connections.226751/
Diffstat (limited to 'os/kay/modules/wireguard.nix')
-rw-r--r--os/kay/modules/wireguard.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kay/modules/wireguard.nix b/os/kay/modules/wireguard.nix
index 578a86a..82eb96f 100644
--- a/os/kay/modules/wireguard.nix
+++ b/os/kay/modules/wireguard.nix
@@ -26,7 +26,7 @@ in
wireguard.interfaces.${wgInterface} = {
ips = [ "10.0.1.1/${toString prefix}" ];
listenPort = port;
- mtu = 1380; # 1460 (ppp0) - 80
+ mtu = 1412; # 1492 (ppp0) - 80
privateKeyFile = config.sops.secrets."misc/wireguard".path;
peers = [