From a0506202ee2af8090430820b9918476afd2194f0 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 28 Nov 2026 14:11:48 +0000 Subject: wiregrill: accept its port by hrm.nftables --- configs/wiregrill.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/wiregrill.nix b/configs/wiregrill.nix index baa9f3d8..f07f3ef4 100644 --- a/configs/wiregrill.nix +++ b/configs/wiregrill.nix @@ -66,9 +66,7 @@ in lib.optional (cfg.net.ip4 != null) (toCidrNotation cfg.net.ip4) ++ lib.optional (cfg.net.ip6 != null) (toCidrNotation cfg.net.ip6); }; - tv.iptables.extra.filter.INPUT = [ - "-p udp --dport ${toString cfg.net.wireguard.port} -j ACCEPT" - ]; + hrm.nftables.input.internet.udp = [ cfg.net.wireguard.port ]; } # With networkd, the key is systemd-networkd's credential, which orders # it after enstate.service by itself; the scripted unit reads it itself. -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/38000000.lock: Permission denied (13)