From 2064e9ff2be226c7ac396e18040dab527a8a2996 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 3 Dec 2026 03:08:53 +0000 Subject: retiolum, wiregrill: declare their firewall zones --- configs/retiolum.nix | 2 ++ configs/wiregrill.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/retiolum.nix b/configs/retiolum.nix index 94c9f00c..59053484 100644 --- a/configs/retiolum.nix +++ b/configs/retiolum.nix @@ -67,6 +67,8 @@ in { systemd.network.networks."40-tincr-retiolum".linkConfig.MTUBytes = "1377"; hrm.nftables.input.internet.tcp = [ "tinc" ]; hrm.nftables.input.internet.udp = [ "tinc" ]; + # Traffic on retiolum that nothing accepts is rejected, not dropped. + hrm.nftables.input.retiolum = { }; } (lib.mkIf config.enstate.enable { enstate.types.${keyType}.validator = keyValidator; diff --git a/configs/wiregrill.nix b/configs/wiregrill.nix index 98ea7425..6392964b 100644 --- a/configs/wiregrill.nix +++ b/configs/wiregrill.nix @@ -67,6 +67,8 @@ in lib.optional (cfg.net.ip6 != null) (toCidrNotation cfg.net.ip6); }; hrm.nftables.input.internet.udp = [ cfg.net.wireguard.port ]; + # Traffic on wiregrill that nothing accepts is rejected, not dropped. + hrm.nftables.input.wiregrill = { }; hrm.nftables.tables.filter.chains.forward.rules.wiregrill = lib.mkIf isHub { iifname = "wiregrill"; oifname = "wiregrill"; -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/9d000000.lock: Permission denied (13)