library/roles/iptables/templates/iptables-rules.v4.j2: The tomcat cluster rules need more flexibility.

This commit is contained in:
Andrea Dell'Amico 2016-09-12 11:56:19 +02:00
parent ff419c6c24
commit 80132d9e80
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@
# tomcat cluster
-A INPUT -m pkttype --pkt-type multicast -d {{ tomcat_cluster_multicast_addr }} -j ACCEPT
-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ tomcat_cluster_multicast_port }} -j ACCEPT
{% if tomcat_cluster_multicast_net is defined %}
-A INPUT -d {{ tomcat_cluster_multicast_net }} -j ACCEPT
{% endif %}
{% endif %}
{% if ganglia_enabled is defined %}
{% if ganglia_enabled %}