From c22975bdcd5222843a7f442d00dc1500fd1a4bec Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 26 Feb 2023 11:10:08 +0100 Subject: [PATCH] hosts/dn42-ildix-clerie: make publicly reachable --- hosts/dn42-ildix-clerie/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/dn42-ildix-clerie/configuration.nix b/hosts/dn42-ildix-clerie/configuration.nix index 5df650e..d4d832e 100644 --- a/hosts/dn42-ildix-clerie/configuration.nix +++ b/hosts/dn42-ildix-clerie/configuration.nix @@ -21,6 +21,10 @@ # Route to dn42-ildix-service networking.interfaces.ens19.ipv6.routes = [ { address = "fd81:edb3:71d8::"; prefixLength = 48; via = "fd81:edb3:71d8:ffff:2953::1"; } ]; + # public address + networking.interfaces.ens20.ipv6.addresses = [ { address = "2001:638:904:ffcb::4"; prefixLength = 64; } ]; + + networking.defaultGateway6 = { address = "2001:638:904:ffcb::1"; interface = "ens20"; }; networking.defaultGateway = { address = "192.168.10.1"; interface = "ens18"; }; networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];