From 3ee40d479a6eae1826e4312299d03331e6d6e830 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 29 Nov 2023 16:37:21 +0530 Subject: hosts/kay: fix mtu see https://old.reddit.com/r/bsnl/comments/ht37q4/guide_for_bsnl_ftth/ --- hosts/kay/modules/network.nix | 1 - hosts/kay/modules/wireguard.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'hosts/kay/modules') diff --git a/hosts/kay/modules/network.nix b/hosts/kay/modules/network.nix index 95832d8..41b929b 100644 --- a/hosts/kay/modules/network.nix +++ b/hosts/kay/modules/network.nix @@ -35,7 +35,6 @@ in nic-wan defaultroute persist - mtu 1380 noauth noipv6 ''; diff --git a/hosts/kay/modules/wireguard.nix b/hosts/kay/modules/wireguard.nix index af489ca..90eb274 100644 --- a/hosts/kay/modules/wireguard.nix +++ b/hosts/kay/modules/wireguard.nix @@ -26,7 +26,7 @@ in wireguard.interfaces.${wgInterface} = { ips = [ "10.0.1.1/${toString prefix}" ]; listenPort = port; - mtu = 1300; # 1380 (ppp0) - 80 + mtu = 1380; # 1460 (ppp0) - 80 privateKeyFile = config.sops.secrets."misc/wireguard".path; peers = [ -- cgit v1.2.3