diff options
| author | tv <tv@krebsco.de> | 2026-11-28 14:11:48 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-03 02:27:14 +0000 |
| commit | a0506202ee2af8090430820b9918476afd2194f0 (patch) | |
| tree | 9d8e3ea03bf1e9c6e73c89b42e662badf0b2d5ae | |
| parent | e018894379a737ec0801fa33686f9a3d5c4056a0 (diff) | |
wiregrill: accept its port by hrm.nftables
| -rw-r--r-- | configs/wiregrill.nix | 4 |
1 files changed, 1 insertions, 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. |
