From 1a8eb085dfe24409fd777666b81bcf4f43c34034 Mon Sep 17 00:00:00 2001 From: soraefir Date: Fri, 8 May 2026 02:13:44 +0200 Subject: [PATCH] fix db ? --- modules/server/nftables/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/server/nftables/default.nix b/modules/server/nftables/default.nix index 4c8a412..7fcbb46 100644 --- a/modules/server/nftables/default.nix +++ b/modules/server/nftables/default.nix @@ -22,11 +22,11 @@ in{ iifname "lo" accept iifname { "podman*", "veth*" } accept tcp dport {422, 22} accept - ${if builtins.length DBallApps > 0 then ''tcp dport {5432, 6379} ip saddr { 10.0.0.0/8, 169.254.0.0/16 } accept'' else ""} - ${if cfg.web then ''tcp dport {80, 443} accept - udp dport {80, 443} accept'' else ""} - ${if cfg.wireguard then ''tcp dport {1515} accept - udp dport {1515} accept'' else ""} + ${if builtins.length DBallApps > 0 then ''tcp dport {5432, 6379} accept'' else ""} + ${if cfg.web then ''tcp dport {80, 443} accept'' else ""} + ${if cfg.web then ''udp dport {80, 443} accept'' else ""} + ${if cfg.wireguard then ''tcp dport {1515} accept'' else ""} + ${if cfg.wireguard then ''udp dport {1515} accept'' else ""} }