OPNsense Forum

English Forums => General Discussion => Topic started by: jpfeifer14 on June 30, 2023, 08:03:43 AM

Title: Issues with mDNS Repeater
Post by: jpfeifer14 on June 30, 2023, 08:03:43 AM
Has anyone else run into issues with the mDNS Repeater plugin? Initially it worked fine for me, though now I see maybe 3-4 cast devices and the rest do not appear. Interestingly enough, the ones that do appear all chromecast videos, the rest of the devices that do not appear are google home and mini, as well as a google chromecast audio. I have tried several configurations on my managed switch for IGMP snooping, though Im not really sure what all of the settings mean. It seems odd that it worked with the default IGMP settings, and then stopped.
Title: Re: Issues with mDNS Repeater
Post by: jpfeifer14 on July 25, 2023, 02:53:15 AM
Was never able to resolve this, switched to pfsense with Avahi and it works fine.
Title: Re: Issues with mDNS Repeater
Post by: jclendineng on July 25, 2023, 02:53:48 PM
Quote from: jpfeifer14 on June 30, 2023, 08:03:43 AM
Has anyone else run into issues with the mDNS Repeater plugin? Initially it worked fine for me, though now I see maybe 3-4 cast devices and the rest do not appear. Interestingly enough, the ones that do appear all chromecast videos, the rest of the devices that do not appear are google home and mini, as well as a google chromecast audio. I have tried several configurations on my managed switch for IGMP snooping, though Im not really sure what all of the settings mean. It seems odd that it worked with the default IGMP settings, and then stopped.

UDP broadcast Relay plugin

Broadcast Address: 224.0.0.251
Source Address: 1.1.1.1
Instance ID: 1
Relay Port: 5353

This is for Apple devices, you can google the correct settings for google but should be similar

Title: Re: Issues with mDNS Repeater
Post by: kurbler on January 03, 2024, 01:07:20 PM
on my OPNsense 23.7.10_1-amd64 i run into issue with the mDNS Repeater.

is there a know issue with 23.7.10? it was running before, i can't say when it was stoped to work, airprint is not used very often.
one interface is a vlan interface the other interface is a physical interface

i used also the udp broadcast relay but it is the same behavior

when i do an tcpdump on both interfaces i see on the incoming interface the request, on the outgoing interface i see the outgoing broadcast message and alle three printer are answering, but this answers i didn't see on the initial interface.

I didn't see any firewall logs, as well but this could be that i am seared wrong.

Is there any FW rule what have to be in place?

I put some entries on it, but didn't get any success.

any ideas
thx
Title: Re: Issues with mDNS Repeater
Post by: cloudz on January 15, 2024, 08:59:22 AM
I'm facing these issues too. Now switched to the mDNS repeater on my Unifi UDM that's in the same network but doesn't function as a router.
Title: Re: Issues with mDNS Repeater
Post by: kurbler on March 06, 2024, 02:11:28 PM
now i use a ubuntu 22.04.4 machine with have a leg in both networks and i use "udp-broadcast-relay-redux-master"
i have first to stop the avahi-daemon wtih "sudo systemctl stop avahi-daemon.socket"
and then i start the udp-broadcast-relay with "sudo ./udp-broadcast-relay-redux --id 1 --port 5353 --dev vlan.1 --dev vlan.90 --multicast 224.0.0.251 -s 1.1.1.1 -d"
Title: Re: Issues with mDNS Repeater
Post by: kurbler on August 14, 2024, 08:29:52 AM
since today it works for me again :-)

with the update fo OPNsense 24.7.1-amd64 it is working again.

my config is, that one Interface is a "real" interface the second one is a VLAN Interface, i use the mDNS only between this two interfaces.
with 24.7. the problem was still exist but with 24.7.1 it is fixed, i checked the release notes but didn't find any entry regarding this mDNS VLAN issue, nevertheless on the end of the day it is working fine, so all good

Title: Re: Issues with mDNS Repeater
Post by: agreenbhm on September 05, 2024, 01:48:37 PM
I'm seeing this issue too (sporadically) on 24.7.3. I put together a Python script to run as a service that will perform the mdns forwarding function for IPv6 and it seems to have fixed things (at least for now). If you want to give that a try, it's here: https://github.com/agreenbhm/mdns_repeater_ipv6

I spent a lot of my day last Friday trying to resolve the issue with UDP Broadcast Repeater and MDNS Forwarder, only to have it seemingly resolve itself randomly. It was working for a day, then broke again, and I've seen the same behavior for the past several days. Hopefully the IPv6 version I put together will resolve it permanently.