commit 331f9acef47d762f1c785c072992af0d1a0f206d
parent 11c587ebcc70bea18009e0e57c93c0a889fe8a8f
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 4 Oct 2023 14:54:15 +0200
Set MTU
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -170,6 +170,7 @@
listenPort = 51820;
privateKeyFile = config.sops.secrets."wireguard/worker-1/wg0/private_key".path;
table = "off";
+ mtu = 1340;
peers = [
# big one
@@ -201,6 +202,7 @@
listenPort = 51821;
privateKeyFile = config.sops.secrets."wireguard/worker-1/wg1/private_key".path;
table = "off";
+ mtu = 1340;
peers = [
# worker-2
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix
@@ -143,6 +143,7 @@
listenPort = 51820;
privateKeyFile = config.sops.secrets."wireguard/worker-2/wg0/private_key".path;
table = "off";
+ mtu = 1340;
peers = [
# big one
@@ -174,6 +175,7 @@
listenPort = 51821;
privateKeyFile = config.sops.secrets."wireguard/worker-2/wg1/private_key".path;
table = "off";
+ mtu = 1340;
peers = [
# worker-1