Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Sonos across multiple subnets
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sonos across multiple subnets (Read 3696 times)
Boo
Newbie
Posts: 4
Karma: 0
Sonos across multiple subnets
«
on:
April 06, 2020, 10:00:33 pm »
Hi,
I am having some issues getting Sonos working across two subnets (LAN and Media) and I'm hoping that someone will be able to help.
The Sonos app uses multicast SSDP from an ephemeral port to 239.255.255.250:1900 to discover Sonos players in the same subnet. The response from the Sonos player is then sent back to the client on the original port from a new ephemeral port (one per player). I have attached a screenshot from Wireshark to show this where 192.168.10.51 is a client on my LAN and 192.168.20.101 & .102 are Sonos players my media subnet. For info the capture is taken from the firewall interface on the media subnet.
Currently I am using the UDP Broadcast Relay plugin (in development on the this forum) to relay the multicast SSDP packets from LAN to Media. As each Sonos replies from an ephemeral port I cant see a good way to allow the response back to my LAN. Other threads I have read on this issue seem to suggest that the players reply from port 1901 however this doesn’t seem to be the case for me.
I feel like I am missing something obvious here and would appreciate any help you can offer.
Thanks
Logged
JasMan
Full Member
Posts: 175
Karma: 9
Re: Sonos across multiple subnets
«
Reply #1 on:
July 31, 2020, 10:41:31 pm »
I'm having the same network setup as you. You need to allow the UDP responses from the Sonos devices for ports 40000-60000.
This is my "UDP Broadcast Relay" configuration
udp_vars="--id 1 --port 1900 --dev [INTERFACE_LAN] --dev [INTERFACE_IOT] --multicast 239.255.255.250"
This is my firewall ruleset to allow the communication between the Sonos app and the devices
From Sonos app to Sonos devices
TCP/1400, 1443
From Sonos devices to Sonos app
TCP/3400, 3401, 3500
TCP/4444
UDP/40000-60000
Logged
Duck, Duck, Duck, Duck, Duck, Duck, Duck, Duck, Goose
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Sonos across multiple subnets