From 29480b6e86ca6057d4151accdb5d4103f1657596 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Mar 2023 19:23:36 +0100 Subject: ... --- hosts/vidhar/network/dsl.nix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'hosts/vidhar/network/dsl.nix') diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index 536e0e0d..5b7c5ac7 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix @@ -97,13 +97,6 @@ in { dnssl = [{ domain_names = ["yggdrasil"]; }]; # other_config = true; } - { name = "dmz01"; - advertise = true; - verbose = true; - prefix = [{ prefix = "::/64"; }]; - route = [{ prefix = "::/0"; }]; - rdnss = [{ servers = ["::"]; }]; - } ]; debug = { @@ -123,11 +116,6 @@ in { interface = "lan"; network = "::/0"; }; - dmz01 = { - method = "iface"; - interface = "dmz01"; - network = "::/0"; - }; }; }; }; @@ -170,7 +158,7 @@ in { ''; postStop = '' - for dev in lan dmz01; do + for dev in lan; do ${pkgs.iproute2}/bin/ip -6 a show dev "''${dev}" scope global | ${pkgs.gnugrep}/bin/grep inet6 | ${pkgs.gawk}/bin/awk '{ print $2; }' | ${pkgs.findutils}/bin/xargs -I '{}' -- ${pkgs.iproute2}/bin/ip addr del '{}' dev "''${dev}" done ''; @@ -195,7 +183,6 @@ in { iaid 1195061668 ipv6rs # enable routing solicitation for WAN adapter ia_pd 1 lan/0/64/0 # request a PD and assign it to the LAN - ia_pd 1 dmz01/1/64/0 # request a PD and assign it to dmz01 reboot 0 -- cgit v1.2.3