3
0

OP#207fix variable relationship and add firewall rule

This commit is contained in:
12ww1160
2025-12-05 16:21:33 +01:00
parent a830a3adfd
commit 58e12e6714
4 changed files with 20 additions and 12 deletions

View File

@@ -13,5 +13,13 @@ class confdroid_postgresql::firewall::iptables (
dport => $pl_fw_port,
jump => 'accept',
}
if $pl_use_pg_bouncer == true {
firewall { "${pl_fw_rule_order}${pl_bouncer_port} tcp port ${pl_bouncer_port}":
source => $pl_source_range,
proto => 'tcp',
dport => $pl_bouncer_port,
jump => 'accept',
}
}
}
}