Role service-bind-slave: listen on loopback + anycast ip addresses

This commit is contained in:
Tobias Hachmer 2018-11-01 19:33:46 +01:00
parent a8693377a4
commit 61382ce676
No known key found for this signature in database
GPG key ID: E112788464CA5C60

View file

@ -19,6 +19,8 @@ options {
listen-on { listen-on {
127.0.0.1; 127.0.0.1;
{{ ffmwu_anycast_ipv4 | ipaddr('address') }};
{{ ffmwu_loopback_net_ipv4 | ipaddr('net') | ipaddr(magic) | ipaddr('address') }};
{% for mesh in meshes %} {% for mesh in meshes %}
{{ mesh.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') }}; {{ mesh.ipv4_network | ipaddr('net') | ipaddr(magic) | ipaddr('address') }};
{% endfor %} {% endfor %}
@ -27,6 +29,8 @@ options {
listen-on-v6 { listen-on-v6 {
::1; ::1;
{{ ffmwu_anycast_ipv6 | ipaddr('address') }};
{{ ffmwu_loopback_net_ipv6 | ipaddr('net') | ipaddr(magic) | ipaddr('address') }};
{% for mesh in meshes %} {% for mesh in meshes %}
{% for ip in mesh.ipv6_ula %} {% for ip in mesh.ipv6_ula %}
{{ ip | ipaddr('net') | ipsubnet(64, 0) | ipaddr(magic) | ipaddr('address') }}; {{ ip | ipaddr('net') | ipsubnet(64, 0) | ipaddr(magic) | ipaddr('address') }};