Simplify the ininispan rules.
This commit is contained in:
parent
eedcaed32b
commit
269afd9fb8
|
@ -201,10 +201,13 @@
|
|||
{% endif %}
|
||||
|
||||
{% if jgroups_cluster_enabled %}
|
||||
# tomcat/jboss/wildfly cluster
|
||||
# infinispan/jgroups
|
||||
-A INPUT -m pkttype --pkt-type multicast -d {{ jgroups_multicast_addr }} -j ACCEPT
|
||||
-A INPUT -m pkttype --pkt-type multicast -d {{ jgroups_mping_multicast_addr | default(jgroups_multicast_addr) }} -j ACCEPT
|
||||
{% if jgroups_mping_multicast_addr is defined and jgroups_mping_multicast_addr != jgroups_multicast_addr %}
|
||||
-A INPUT -m pkttype --pkt-type multicast -d {{ jgroups_mping_multicast_addr }} -j ACCEPT
|
||||
{% endif %}
|
||||
-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ jgroups_multicast_port }} -j ACCEPT
|
||||
-A INPUT -p udp -m udp --dport {{ jgroups_multicast_port }} -j ACCEPT
|
||||
{% if jgroups_multicast_net is defined %}
|
||||
-A INPUT -d {{ jgroups_multicast_net }} -j ACCEPT
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue