diff --git a/templates/iptables-rules.v4.j2 b/templates/iptables-rules.v4.j2 index ef588c3..2a344c2 100644 --- a/templates/iptables-rules.v4.j2 +++ b/templates/iptables-rules.v4.j2 @@ -261,12 +261,12 @@ {% endif %} {% endif %} {% endif %} -{% if hybernate_cluster_enabled %} +{% if jgroups_cluster_enabled %} # tomcat cluster --A INPUT -m pkttype --pkt-type multicast -d {{ hybernate__multicast_addr }} -j ACCEPT --A INPUT -m state --state NEW -p tcp -m tcp --dport {{ hybernate_multicast_port }} -j ACCEPT +-A INPUT -m pkttype --pkt-type multicast -d {{ jgroups_multicast_addr }} -j ACCEPT +-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ jgroups_multicast_port }} -j ACCEPT {% if hybernate_multicast_net is defined %} --A INPUT -d {{ hybernate_multicast_net }} -j ACCEPT +-A INPUT -d {{ jgroups_multicast_net }} -j ACCEPT {% endif %} {% endif %} {% if orientdb_hazelcast_multicast_enabled is defined and orientdb_hazelcast_multicast_enabled %}