diff options
| author | tv <tv@krebsco.de> | 2026-12-03 03:07:53 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-03 03:07:53 +0000 |
| commit | 113258c6e1e5ad4429d6936a757c31b637448a89 (patch) | |
| tree | 68e825aba30f262f11d69a6465f5b55dfb9290be | |
| parent | d9b8f483bf9cfe6ebc73751fd880e7553d0cb918 (diff) | |
unbound: accept its ports by hrm.nftables
| -rw-r--r-- | modules/unbound.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/unbound.nix b/modules/unbound.nix index 64f69364..2a2ff470 100644 --- a/modules/unbound.nix +++ b/modules/unbound.nix @@ -34,8 +34,8 @@ # but just restart, so we quickly get it back. systemd.services.unbound.stopIfChanged = false; - tv.iptables.input-retiolum-accept-udp = [ "domain" ]; - tv.iptables.input-wiregrill-accept-udp = [ "domain" ]; + hrm.nftables.input.retiolum.udp = [ "domain" ]; + hrm.nftables.input.wiregrill.udp = [ "domain" ]; }) (lib.mkIf cfg.DoH.enable (let http-port = 8053; @@ -62,7 +62,7 @@ ''; }; - tv.iptables.input-internet-accept-tcp = [ "https" ]; + hrm.nftables.input.internet.tcp = [ "https" ]; })) (lib.mkIf cfg.DoT.enable { services.unbound.settings.server = { @@ -78,7 +78,7 @@ "tls-service-key:/var/lib/acme/${cfg.useACMEHost}/key.pem" "tls-service-pem:/var/lib/acme/${cfg.useACMEHost}/fullchain.pem" ]; - tv.iptables.input-internet-accept-tcp = [ "domain-s" ]; + hrm.nftables.input.internet.tcp = [ "domain-s" ]; }) ]; } |
