Avahi blocks mDNS port

Hi,

I am using mdns-reflector in a docker container to bridge mDNS into a docker bridged network that is used by the home assistant container.

It all works well if I don’t enable avahi on the truenas host. It seems that the config setting “disallow-other-stacks” prevents mdns-reflector to bind on the necessary UDP ports.

Would it be possible to change this default config or to introduce a UI option to configure it?

I have a related issue. When running homebridge in docker on TrueNAS, it fails to start because of “disallow-other-stacks=no”. If I change that to =yes, everything works as expected. However the avahi config does not survive a reboot. Is there an easy solution for that?