summaryrefslogtreecommitdiff
path: root/data/templates/mdns-repeater/avahi-daemon.j2
blob: d562c048f8fa53f53ee0754594ee1f588b559333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
### Autogenerated by service_mdns-repeater.py ###
[server]
use-ipv4={{ 'yes' if ip_version in ['ipv4', 'both'] else 'no' }}
use-ipv6={{ 'yes' if ip_version in ['ipv6', 'both'] else 'no' }}
allow-interfaces={{ interface | join(', ') }}
{% if browse_domain is vyos_defined and browse_domain | length %}
browse-domains={{ browse_domain | join(', ') }}
{% endif %}
disallow-other-stacks=no

[wide-area]
enable-wide-area=yes

[publish]
disable-publishing=yes
disable-user-service-publishing=yes
publish-addresses=no
publish-hinfo=no
publish-workstation=no
publish-aaaa-on-ipv4=no
publish-a-on-ipv6=no

[reflector]
enable-reflector=yes
{% if allow_service is vyos_defined and allow_service | length %}
reflect-filters={{ allow_service | join(', ') }}
{% endif %}