OPNsense Forum

English Forums => Virtual private networks => Topic started by: D0bby on September 03, 2022, 05:42:52 PM

Title: trying to get Sonos running in my VLAN
Post by: D0bby on September 03, 2022, 05:42:52 PM
Hey


since a long time I try to get my Sonos Player in my IoT VLAN and running between my VLANs.

For testing purposes, the players are still in the LAN and my cell phone is in the UntrustedLAN.


UDP Broadcast Relay--> IoT,LAN,UntrustedLAN   239.255.255.250       1900   2   Sonos


Firewall rules:
sonosTCP_2app - 3400, 3401, 3500, 4444
sonosUDP - 40000-60000
sonosTCP_2device 1400, 1433, 1443, 4444

What am I missing?

Title: Re: trying to get Sonos running in my VLAN
Post by: despised on September 07, 2022, 05:14:51 AM
UDP broadcast relay

host: 239.255.255.250
port: 1900
source address: 1.1.1.2

Firewall rule is applied on 20_devices net. This is the network containing the sonos speakers.


Action: Pass
Direction: In
Apply: Immediately
Protocol: UDP
From: 20_devices net
To: 20_devices address
Port: 1900
Title: Re: trying to get Sonos running in my VLAN
Post by: D0bby on September 09, 2022, 07:51:05 PM
this is your only rule for Sonos?

Not working for me
Title: Re: trying to get Sonos running in my VLAN
Post by: tabsats on December 04, 2022, 04:00:42 PM
Hi @D0bby, have you been able to solve it? Having a similar issue here.

UDP Broadcast Relay is installed and the values are set right as they are also shown above.
Quote from: D0bby on September 03, 2022, 05:42:52 PM
Hey

UDP Broadcast Relay--> IoT,LAN,UntrustedLAN   239.255.255.250       1900   2   Sonos

The Situation is that from my Main LAN Net I cannot reach the system via Sonos APP. Interestingly I can still control it via an App called MBC on my mac. Listen to playlists and grouping are possible. But the full spectrum eg accessing accounts for different Apps like in the official sonos controler is not possible with the MBC App. Obviously I would like to use the orginal app.

I have some firewall rules set to isolate that IoT Network from other networks and now I need to create new "pass" Rule(s) for this.
Not sure if its useful, my current rules for this IoT Net are below.


The problem is, I have only very limited experience and needed to read everything up but nothing worked yet. So if you or anyone else here can push me a little into the right direction or has already an answer, that would be awesome!

Thanks!

EDIT:

I solved it by following this: https://forum.opnsense.org/index.php?topic=16769.msg76469#msg76469

TLDR simply building 2 aliases:
- all Sonos speakers (hosts, -->fixed IPs) in the IoT network
- all controllers (smartphones, computers with controller app) in the LAN network

Rule on the IoT network: Pass TCP on IoT net from "all sonos speaker" to "all Controller"
Not super clean but efficient and it works!
Title: Re: trying to get Sonos running in my VLAN
Post by: despised on August 31, 2023, 05:11:40 PM
also enable mdns repeater