fix nft
This commit is contained in:
1 parent
40dba4b959
commit
c55b06cca9
1 file changed
+1
-1
@@ -15,7 +15,7 @@ in{
|
|||||||
ct state established,related accept
|
ct state established,related accept
|
||||||
iifname "lo" accept
|
iifname "lo" accept
|
||||||
tcp dport {22} accept
|
tcp dport {22} accept
|
||||||
${if cfg.database then ''tcp dport {5432, 6379} ip saddr { 10.0.0.0/8, 169.254.0.0/16 } accept'' else ""}
|
${if cfg.db 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 ""}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user