OP#669 add fw rule for stats port

This commit is contained in:
2026-09-05 12:56:23 +02:00
parent 5b20bf27ac
commit af0ddb9f36
2 changed files with 10 additions and 0 deletions

View File

@@ -18,5 +18,13 @@ class confdroid_haproxy::firewall::iptables (
dport => $hy_https_port,
jump => 'accept',
}
if $hy_show_stats == true {
firewall { "${hy_fw_order_no}${hy_stats_port} tcp port ${hy_stats_port}":
proto => 'tcp',
dport => $hy_stats_port,
jump => 'accept',
}
}
}
}