diff options
| author | tv <tv@krebsco.de> | 2026-12-03 01:02:05 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-03 02:27:22 +0000 |
| commit | 66e4ee54f275e604edb7f0cedbdb984b63ede3c9 (patch) | |
| tree | da21db41046475b5216a347a0f21e320951b1bcd /configs | |
| parent | a0506202ee2af8090430820b9918476afd2194f0 (diff) | |
wiregrill: accept forwarding within wiregrill on the hub
For both families; ne had it for IPv4 only.
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/wiregrill.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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. |
