OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • [Solved] Sonos on VLANS
« previous next »
  • Print
Pages: 1 [2] 3 4

Author Topic: [Solved] Sonos on VLANS  (Read 22464 times)

nivek1612

  • Full Member
  • ***
  • Posts: 208
  • Karma: 26
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #15 on: December 31, 2019, 02:31:28 pm »
Good catch - just amended the post incase others read it later
Logged
OPNsense 23.1.* on Qotom i5-5250U with Zen FTTC 80/20
OPNsense 23.1.* on Qotom i7-4500U with Orange FR FTTP 1000/400 and SFR FTTP 200/20

Team Rebellion Member
One of Marjohns TESTERS :-)

fluxc

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #16 on: January 04, 2020, 10:56:41 am »
I also configured my opnsense box for multicast streaming over VLANs some days ago. The goal was to make a DLNA server (minidlna) in one VLAN discoverable and available to clients in a different VLAN.

At first I tried using igmp-proxy. The problem is that it ignores site-local multicasting and therefore does not forward those packets upstream (see https://github.com/pali/igmpproxy/blob/d755b5b6327982434b87d631e089099dfd9a2ab4/src/igmp.c#L124).

After installing pimd it worked without having to configure anything. I tried to build the package myself but due to limited time ended up installing it from https://pkg.hardenedbsd.org/HardenedBSD/pkg/FreeBSD:11:amd64/All/pimd-2.3.2.txz.

Things to note:

  • pimd can be started with all interfaces disabled by default ("pimd -N")
  • interfaces can be enabled selectively by modifying /usr/local/etc/pimd.conf (I only enabled the VLAN interfaces I want to be able to participate in multicasting)


It would be great if pimd would be made available as an official plugin since igmp-proxy seems not to be working for inter-VLAN service discovery (SSDP / DLNA etc.).
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1679
  • Karma: 171
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #17 on: January 06, 2020, 01:18:01 pm »
Quote from: mimugmail on December 29, 2019, 06:28:02 am
Can you post your config so I can build a plugin for it?


Bin the plugin for this one Michael - we've found something better. Works with Sonos and Sky Q.


https://github.com/sonicsnes/udp-broadcast-relay-redux


I'm going to attempt to create a plugin, might take me a while and I'll probably be asking for help.  :)
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

nivek1612

  • Full Member
  • ***
  • Posts: 208
  • Karma: 26
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #18 on: January 06, 2020, 01:22:45 pm »
Yes confirmed this one allows both Sonos and SkyQ to work together which PIMD didn't seem to handle
Logged
OPNsense 23.1.* on Qotom i5-5250U with Zen FTTC 80/20
OPNsense 23.1.* on Qotom i7-4500U with Orange FR FTTP 1000/400 and SFR FTTP 200/20

Team Rebellion Member
One of Marjohns TESTERS :-)

szty0pa

  • Newbie
  • *
  • Posts: 42
  • Karma: 3
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #19 on: January 06, 2020, 01:39:40 pm »
Wow, I am playing with this for the last few weeks as well. All inputs and possible plugins are very much appreciated! :)
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1679
  • Karma: 171
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #20 on: January 07, 2020, 10:36:28 am »
It's very easy to set up. If you pull down that repo, compile it. There are instructions on how to install it and where to put the .conf and .sh files. We didn't take that path, just compiled it and dropped it into /usr/sbin, then we used Monit to fire it up and keep it going. Works very well.


If you get stuck, shout, and I'll post the way we did it.



« Last Edit: January 07, 2020, 10:38:00 am by marjohn56 »
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

skywalker007

  • Full Member
  • ***
  • Posts: 140
  • Karma: 5
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #21 on: January 07, 2020, 10:47:41 am »
Hmm. You Guys lost me now.
I am running IGMP proxy at the moment for Deutsche Telekom Magenta TV which works well. I assumed I cannot run PIMD in parallel. Not sure if udp-broadcast-relay-redux can. Would it be cable to handle all multicast relaying that the IGMP proxy currently does?

thanks!
Logged
System1: Qotom Q310G4
System2: APU2C4

marjohn56

  • Hero Member
  • *****
  • Posts: 1679
  • Karma: 171
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #22 on: January 07, 2020, 10:58:59 am »
Only one way to find out....try it.


We used it because of the TTL=1 issue. When installed Nivek1612 found he no longer needed PIMD for his Sonos.


Here's a little excerpt from the doc that's in the archive.


Quote
However, the udp-broadcast-relay-redux tool allows arbitrary relaying of UDP packets between interfaces, and this helps to solve the problem.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

skywalker007

  • Full Member
  • ***
  • Posts: 140
  • Karma: 5
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #23 on: January 07, 2020, 10:26:15 pm »
could someone please share a binary of it? I don't have a compiler on my firewall. TIA!
Logged
System1: Qotom Q310G4
System2: APU2C4

marjohn56

  • Hero Member
  • *****
  • Posts: 1679
  • Karma: 171
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #24 on: January 07, 2020, 11:27:33 pm »
Here you go. There's an .md file in there that explains how to install it on pfSense. As I said we installed it using Monit, either way is good.


Attachment removed as a plugin is now available for testing. PM me if you want to try it.
« Last Edit: January 21, 2020, 11:31:54 pm by marjohn56 »
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

nivek1612

  • Full Member
  • ***
  • Posts: 208
  • Karma: 26
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #25 on: January 09, 2020, 07:11:28 pm »
@skywalker007

I can't say if this will work at the same time as IGMPproxy because I haven't tried it

But when I tried to run PIMD and IGMPProxy at the same time PIMD complained
When I tried udp-broadcast-relay-redux with PIMD it worked so my suspicion is udp-broadcast-relay-redux will work with IGMPproxy

But only one way to really know :-)
Logged
OPNsense 23.1.* on Qotom i5-5250U with Zen FTTC 80/20
OPNsense 23.1.* on Qotom i7-4500U with Orange FR FTTP 1000/400 and SFR FTTP 200/20

Team Rebellion Member
One of Marjohns TESTERS :-)

skywalker007

  • Full Member
  • ***
  • Posts: 140
  • Karma: 5
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #26 on: January 09, 2020, 07:14:22 pm »
Thanks. I have to test that at the weekend. Will reply back with results.
Logged
System1: Qotom Q310G4
System2: APU2C4

marjohn56

  • Hero Member
  • *****
  • Posts: 1679
  • Karma: 171
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #27 on: January 09, 2020, 11:14:26 pm »
I've re-compiled it with a more sensible name and fixed the rc.d file which was badly formatted and Opnsense hated.


I'll re-post the archive tomorrow with full instructions on how and where to install the required bits and how to keep it ticking over using Monit.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

skywalker007

  • Full Member
  • ***
  • Posts: 140
  • Karma: 5
    • View Profile
Re: [Solved] Sonos on VLANS - PIMD
« Reply #28 on: January 09, 2020, 11:35:13 pm »
Quote from: marjohn56 on January 09, 2020, 11:14:26 pm
I've re-compiled it with a more sensible name and fixed the rc.d file which was badly formatted and Opnsense hated.


I'll re-post the archive tomorrow with full instructions on how and where to install the required bits and how to keep it ticking over using Monit.
Cool. Looking forward to it! Thanks!


Gesendet von iPad mit Tapatalk
Logged
System1: Qotom Q310G4
System2: APU2C4

marjohn56

  • Hero Member
  • *****
  • Posts: 1679
  • Karma: 171
    • View Profile
Re: [Solved] Sonos on VLANS
« Reply #29 on: January 10, 2020, 12:32:41 pm »

OK, here we go...

The archive contains all you need and a docx file ( sorry using windoze ).

Good luck.


Archive removed. Plugin in beta. PM me if you want to test
« Last Edit: January 21, 2020, 11:33:21 pm by marjohn56 »
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

  • Print
Pages: 1 [2] 3 4
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • [Solved] Sonos on VLANS
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2