From 66e4ee54f275e604edb7f0cedbdb984b63ede3c9 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 3 Dec 2026 01:02:05 +0000 Subject: wiregrill: accept forwarding within wiregrill on the hub For both families; ne had it for IPv4 only. --- configs/wiregrill.nix | 5 +++++ systems/ne/config.nix | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/wiregrill.nix b/configs/wiregrill.nix index f07f3ef4..98ea7425 100644 --- a/configs/wiregrill.nix +++ b/configs/wiregrill.nix @@ -67,6 +67,11 @@ in lib.optional (cfg.net.ip6 != null) (toCidrNotation cfg.net.ip6); }; hrm.nftables.input.internet.udp = [ cfg.net.wireguard.port ]; + hrm.nftables.tables.filter.chains.forward.rules.wiregrill = lib.mkIf isHub { + iifname = "wiregrill"; + oifname = "wiregrill"; + verdict = "accept"; + }; } # With networkd, the key is systemd-networkd's credential, which orders # it after enstate.service by itself; the scripted unit reads it itself. diff --git a/systems/ne/config.nix b/systems/ne/config.nix index b78b65a9..755a90fc 100644 --- a/systems/ne/config.nix +++ b/systems/ne/config.nix @@ -106,7 +106,6 @@ "-s 42:1:a46e::/48 -j ACCEPT" # tv ]; tv.iptables.extra4.filter.FORWARD = [ - "-i wiregrill -o wiregrill -j ACCEPT" "-i wiregrill -o retiolum -j ACCEPT" "-i retiolum -o wiregrill -j ACCEPT" ]; -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/70100000.lock: Permission denied (13)