alsmith / multicast-relay

Relay multicast and broadcast packets between interfaces.
GNU General Public License v3.0
304 stars 47 forks source link

Devices not discoverable #73

Open leon1995 opened 1 year ago

leon1995 commented 1 year ago

Hi,

in my log I can find the following entries

starting multicast-relay
Using Interfaces: br0 br30 br40
Using Options --foreground  --verbose --noSSDP
Feb-28 12:05:35 //./multicast-relay/multicast-relay.py INFO: Adding broadcast relay for 255.255.255.255:6969 (Sonos Setup Discovery)
Feb-28 12:05:35 //./multicast-relay/multicast-relay.py INFO: Adding multicast relay for 224.0.0.251:5353 (mDNS)
Feb-28 12:12:20 //./multicast-relay/multicast-relay.py INFO: [mDNS] Relayed 308 bytes from 192.168.1.119:5353 on br0 [ttl 255] to 224.0.0.251:5353 via br30/192.168.30.1
Feb-28 12:12:20 //./multicast-relay/multicast-relay.py INFO: [mDNS] Relayed 308 bytes from 192.168.1.119:5353 on br0 [ttl 255] to 224.0.0.251:5353 via br40/192.168.40.1
Feb-28 12:10:29 //./multicast-relay/multicast-relay.py INFO: [mDNS] Relayed 798 bytes from 192.168.40.196:5353 on br40 [ttl 255] to 224.0.0.251:5353 via br0/192.168.1.1
Feb-28 12:10:29 //./multicast-relay/multicast-relay.py INFO: [mDNS] Relayed 798 bytes from 192.168.40.196:5353 on br40 [ttl 255] to 224.0.0.251:5353 via br30/192.168.30.1

but the sonos box (192.168.40.196) is not discoverable via airplay on my phone (192.168.1.119).

For both networks I have turned on mdns on my udm pro and I have a firewall rule that allows a connection from 192.168.40.196 to 192.168.1.0/24 any ports (for debugging, because its not working...).

I am not sure whether this is the correct place to report, because it seems that multicast-relay works fine, but maybe I have over looked a setting or so. I hope you can help!

alsmith commented 8 months ago

mDNS ought to be the Airplay method for discovering devices.

Does it not connect, or does it not even show up ? Any chance of running tcpdump -s0 -X -n port 5353 on the 192.168.1.0/24 network and see what it thinks it sees ? Packets are being replayed, so that ought to work. But if you're running the relay on the UDM box itself, I believe you might have to turn off MDNS on the UDM Pro.