Always set a multicast net.
This commit is contained in:
parent
35c2295835
commit
e0aee06fc8
|
|
@ -225,8 +225,10 @@
|
|||
-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
|
||||
{% endif %}
|
||||
{% if jgroups_multicast_net is defined %}
|
||||
-A INPUT -d {{ jgroups_multicast_net }} -j ACCEPT
|
||||
{% if jgroups_sources is defined %}
|
||||
{% for s in jgroups_sources %}
|
||||
-A INPUT -d {{ jgroups_multicast_net | default('224.0.0.1') }} -j ACCEPT
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue