add a new multicast rule.

This commit is contained in:
Andrea Dell'Amico 2021-02-16 20:00:33 +01:00
parent 5e513ca2f9
commit c10eb540eb
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@
{% if jgroups_cluster_enabled %}
# tomcat/jboss/wildfly cluster
-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
-A INPUT -m state --state NEW -p tcp -m tcp --dport {{ jgroups_multicast_port }} -j ACCEPT
{% if jgroups_multicast_net is defined %}
-A INPUT -d {{ jgroups_multicast_net }} -j ACCEPT