From f8d7fc77a93976c49c98bc4727d578144959987c Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 4 Dec 2023 16:30:55 +0100 Subject: [PATCH] add unbound default gateway --- hosts/fw.cloonar.com/modules/unbound.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/fw.cloonar.com/modules/unbound.nix b/hosts/fw.cloonar.com/modules/unbound.nix index 9dc296e..b4d3857 100644 --- a/hosts/fw.cloonar.com/modules/unbound.nix +++ b/hosts/fw.cloonar.com/modules/unbound.nix @@ -148,6 +148,10 @@ in { config = { lib, config, pkgs, ... }: { networking = { hostName = "ns"; + defaultGateway = { + address = "10.42.97.1"; + interface = "mv-vserver"; + }; interfaces.mv-vserver = { ipv4.addresses = [{ address = "10.42.97.2";