From da788522ab2c381bc1536fdc831a9b7e9d2e9192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 6 Feb 2024 18:18:19 +0100 Subject: [PATCH] c3d2iot: increase dhcp lease time, dump freifunk upstream --- config/net/c3d2iot.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/net/c3d2iot.nix b/config/net/c3d2iot.nix index 2e81db2..3528bc1 100644 --- a/config/net/c3d2iot.nix +++ b/config/net/c3d2iot.nix @@ -5,8 +5,9 @@ end = "10.22.255.253"; router = "iot-gw"; server = "iot-gw"; - time = 120; - max-time = 12 * 3600; + # devices don't often change and could not be that talkative + time = 600; + max-time = 24 * 3600; }; dynamicDomain = true; domainName = "c3d2iot.zentralwerk.org"; @@ -38,8 +39,7 @@ }; }; ospf = { - allowedUpstreams = - [ "upstream4" "upstream3" "anon1" "freifunk" ]; + allowedUpstreams = [ "upstream4" "upstream3" "anon1" ]; }; role = "container"; };