library/roles/iptables/templates/iptables-rules.v4.j2: The tomcat cluster rules need more flexibility.
This commit is contained in:
parent
ff419c6c24
commit
80132d9e80
|
@ -175,6 +175,9 @@
|
||||||
# tomcat cluster
|
# tomcat cluster
|
||||||
-A INPUT -m pkttype --pkt-type multicast -d {{ tomcat_cluster_multicast_addr }} -j ACCEPT
|
-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
|
-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 %}
|
{% endif %}
|
||||||
{% if ganglia_enabled is defined %}
|
{% if ganglia_enabled is defined %}
|
||||||
{% if ganglia_enabled %}
|
{% if ganglia_enabled %}
|
||||||
|
|
Loading…
Reference in New Issue