summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-10-16 20:54:34 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-10-19 22:46:41 +0200
commit16ae2933ff976737e52113105228a5f7f75686a3 (patch)
treea815a5c83864a46a9f2bc3086a14b0fe743ba613 /data/templates
parent56810c62f91d3f11e23b2836bb4d14db6ec8ce25 (diff)
downloadvyos-1x-16ae2933ff976737e52113105228a5f7f75686a3.tar.gz
vyos-1x-16ae2933ff976737e52113105228a5f7f75686a3.zip
mdns: T3917: Change to avahi-daemon for IPv4 + IPv6 mDNS repeater
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/mdns-repeater/avahi-daemon.tmpl18
-rw-r--r--data/templates/mdns-repeater/mdns-repeater.tmpl2
2 files changed, 18 insertions, 2 deletions
diff --git a/data/templates/mdns-repeater/avahi-daemon.tmpl b/data/templates/mdns-repeater/avahi-daemon.tmpl
new file mode 100644
index 000000000..65bb5a306
--- /dev/null
+++ b/data/templates/mdns-repeater/avahi-daemon.tmpl
@@ -0,0 +1,18 @@
+[server]
+use-ipv4=yes
+use-ipv6=yes
+allow-interfaces={{ interface | join(', ') }}
+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
+
+[reflector]
+enable-reflector=yes
diff --git a/data/templates/mdns-repeater/mdns-repeater.tmpl b/data/templates/mdns-repeater/mdns-repeater.tmpl
deleted file mode 100644
index 80f4ab047..000000000
--- a/data/templates/mdns-repeater/mdns-repeater.tmpl
+++ /dev/null
@@ -1,2 +0,0 @@
-### Autogenerated by mdns_repeater.py ###
-DAEMON_ARGS="{{ interface | join(' ') }}"