Role service-fastd-mesh: allow fastd-exporter access from all gateways
This commit is contained in:
parent
f701d77dfd
commit
71d1889a49
1 changed files with 4 additions and 2 deletions
|
@ -13,10 +13,12 @@ server {
|
||||||
|
|
||||||
allow 127.0.0.0/8;
|
allow 127.0.0.0/8;
|
||||||
allow ::1/128;
|
allow ::1/128;
|
||||||
{% for host in groups['ffmwu-monitoring'] %}
|
{% for group in ['ffmwu-monitoring', 'ffmwu-gateways'] %}
|
||||||
|
{% for host in groups[group] %}
|
||||||
allow {{ lookup('dig', host, 'qtype=A') }};
|
allow {{ lookup('dig', host, 'qtype=A') }};
|
||||||
allow {{ lookup('dig', host, 'qtype=AAAA') }};
|
allow {{ lookup('dig', host, 'qtype=AAAA') }};
|
||||||
deny all;
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
deny all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue