OP#669 add fw rule for stats port
This commit is contained in:
@@ -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',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user