From 7c3a7d6876fd0ff0d302ea5bc2075ed176aa4199 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Mon, 1 Aug 2022 17:16:02 +0200 Subject: [PATCH] Add unbound config and ipv6 net --- common/wireguard.nix | 2 +- modules/server/unbound.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/wireguard.nix b/common/wireguard.nix index 3dbd947..0aad60d 100644 --- a/common/wireguard.nix +++ b/common/wireguard.nix @@ -23,7 +23,7 @@ with lib; { prefixes = { ipv4 = [ "192.168.244" ]; ipv6 = { - ula = [ ]; # TODO + ula = [ "fdaa:3313:9dfa:dfa3" ]; # TODO gua = [ ]; }; serial = "2022073100"; diff --git a/modules/server/unbound.nix b/modules/server/unbound.nix index a368d26..24ce2ce 100644 --- a/modules/server/unbound.nix +++ b/modules/server/unbound.nix @@ -19,6 +19,7 @@ with lib; { unbound = { enable = true; settings.server.interface = [ "127.0.0.0" "::1" ]; + settings.server.accesControl = [ "192.168.244.0/24" "fdaa:3313:9dfa:dfa3/64" ]; }; };