This commit is contained in:
soraefir
2026-05-08 01:26:53 +02:00
parent 593514c100
commit 9cf9937cb7

View File

@@ -18,6 +18,8 @@ in{
${if builtins.length cfg.db > 0 then ''tcp dport {5432, 6379} ip saddr { 10.0.0.0/8, 169.254.0.0/16 } accept'' else ""} ${if builtins.length cfg.db > 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 ${if cfg.web then ''tcp dport {80, 443} accept
udp dport {80, 443} accept'' else ""} udp dport {80, 443} accept'' else ""}
${if cfg.wireguard then ''tcp dport {1515} accept
udp dport {1515} accept'' else ""}
} }