Add sources to the multicast net rule.
This commit is contained in:
parent
e0aee06fc8
commit
12f1c03eb2
|
@ -227,8 +227,10 @@
|
|||
{% endif %}
|
||||
{% if jgroups_sources is defined %}
|
||||
{% for s in jgroups_sources %}
|
||||
-A INPUT -d {{ jgroups_multicast_net | default('224.0.0.1') }} -j ACCEPT
|
||||
-A INPUT -s {{ s }} -d {{ jgroups_multicast_net | default('224.0.0.1') }} -j ACCEPT
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
-A INPUT -d {{ jgroups_multicast_net | default('224.0.0.1') }} -j ACCEPT
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue