From 113258c6e1e5ad4429d6936a757c31b637448a89 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 3 Dec 2026 03:07:53 +0000 Subject: unbound: accept its ports by hrm.nftables --- modules/unbound.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') 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" ]; }) ]; } -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/c8100000.lock: Permission denied (13)