servusli1
Goto Top

AirPlay zu Sonos über verschiedene VLAN

Hallo zusammen

Ich habe das Internet hoch und runter gesucht und habe bis leider noch keine Lösung für mein Problem - Musik per AirPlay auf die Sonos in einem anderen VLAN zu streamen.

Mein HW-Setup zu Hause:

  • Zyxel XMG3927 (Modem in Bridge-Mode)
  • opnsense 23.7. (i7-9700, 16 GB DDR4 - opnsense läuft jetzt stabil im vgl. zu meiner Sophos XG105 Rev.3 HW)
  • Ubiquiti Netzwerklandschaft (USW lite 2x 8 PoE, 1x 16 PoE, 2x UAP)

Auf der opnsense sind mehrere VLAN eingerichtet, was soweit auch tadellos funktioniert.

Sonos ist im VLAN ID200 [Sonos] und die iPhone/iPad welche per AirPlay streamen sollen befinden sich in VLAN ID100 [WLANDevice].

Ich habe folgende Rules erstellt...
...im Interface WLANDevice:

Protocol: IPv4 any
Source: WLANDevice net
Port: any
Destination: 224.0.0.251/24
Port: 5353

Protocol: IPv6 any
Source: WLANDevice net
Port: any
Destination: ff02::fb/32
Port: 5353

Protocol: IPv4 TCP
Source: WLANDevice net
Port: any
Destination: any
Port: Sonos_TCP-Ports

Protocol: IPv4 UDP
Source: WLANDevice net
Port: any
Destination: any
Port: Sonos_UDP-Ports

...im Interface Sonos:

Protocol: IPv4 any
Source: Sonos net
Port: any
Destination: 224.0.0.251/24
Port: 5353

Protocol: IPv6 any
Source: Sonos net
Port: any
Destination: ff02::fb/32
Port: 5353

Protocol: IPv4 TCP
Source: Sonosnet
Port: any
Destination: any
Port: Sonos_TCP-Ports

Protocol: IPv4 UDP
Source: Sonos net
Port: any
Destination: any
Port: Sonos_UDP-Ports

Bei den Sonos-Ports habe ich je einen TCP- bzw. UDP-Alias erstellt.

Im PlugIn mDNS-Repeater habe ich die Listen-Interface Sonos und WLANDevice aktiviert.

In der Sonos-App kann ich die Lautsprecher zwar sehen aber kann keine Musik streamen. In der Music-App kann ich die Lautsprecher ebenfalls sehen, aber auch nicht anwählen zum streamen.

Das selbe Problem habe ich mit meinem Drucker welcher sich im VLAN ID201 [Print] befindet. Ich kann den Drucker zwar in AirPrint sehen, aber kann nicht drucken. Die o.e. Multicast-Rules habe ich auch im Interface Print angewendet. AirPrint und AirPlay funktionieren ja beide per Bonjour-Dienst.

Wer kann mir den entscheidenden Input geben, damit ich per AirPlay auf die Sonos streamen und per AirPrint drucken kann? Muss ich in den o.e. Rules unter Advanced features noch allow options aktivieren?

Content-Key: 23755450356

Url: https://administrator.de/contentid/23755450356

Printed on: April 27, 2024 at 11:04 o'clock

Member: Looser27
Looser27 Aug 23, 2023 updated at 05:39:09 (UTC)
Goto Top
Moin,

das Thema wurde im Nachbaruniversum bereits diskuttiert. Vielleicht hilft Dir das hier weiter:
https://forum.opnsense.org/index.php?topic=3368.0

Nachtrag:
Ansonsten das hier: Apple AirPrint über VLANs

Gruß

Looser
Member: Visucius
Visucius Aug 23, 2023 at 06:04:34 (UTC)
Goto Top
Auf der OPNsense, schau Dir mal "UDP Broadcast Relay" an. Idealerweise als Alternative zu dem Avahi/Raspi im oben verlinkten Thread.


Oder Du nimmst die LS ins gleiche vLAN, wie die Zuspieler. Es ist und bleibt ein "Heimnetz". Und machen wir uns nix vor - die Sonos, TV, Alexa darf am Ende eh alles, weil sonst die Streamingdienste streiken und der Haussegen schief hängt face-wink

Einfacher, Du ziehst "die speziellen Geräte" raus: Firmenlaptop/Mobile und Konsorten, die mit dem Kram eh nicht kommunizieren sollen/müssen/dürfen.