The interface between the WiiM Home App and the WiiM devices uses the Universal Plug and Play (UPnP) protocol for discovery and initial control and that is designed to work within a single local network (LAN) only.I was doing all sort of firewall rules and tcpdumps
Does the app actually allow user to manage wiim players it finds on different network?
It finds mine but blocks management with "On other networks" with only option to manage is "Forget"
It uses mDNS which does work across vlans if discovery broadcasts are relayed.The interface between the WiiM Home App and the WiiM devices uses the Universal Plug and Play (UPnP) protocol for discovery and initial control and that is designed to work within a single local network (LAN) only.
Maybe the WiiM documentation is wrong then?It uses mDNS which does work across vlans if discovery broadcasts are relayed.
I currently have my Pro on the same vlan as I wanted to use the UPnP interface (which I haven't managed to get working across vlans), but management should work across vlans; I'll shift mine back shortly and test.
EDIT:
I moved the Pro back to my iOT vlan and it's still accessible from the WHA.
I'm using 'UDP Broadcast Relay' in OPNSense to enable discovery and firewall rules to allow the outbound (Home to iOT) connection.
I'm not even sure what that means at a router level; I assume it's referring to IGD rather than the UPnP protocol as a whole.Maybe the WiiM documentation is wrong then?
Enable UPnP: Ensure that Universal Plug and Play (UPnP) is enabled on your router. This feature facilitates the automatic discovery and configuration of network devices, thereby enhancing compatibility and connectivity.
Not sure I follow. VLAN to VLAN is all local; no internet required.To be able to communicate with another local network it will however require that you can access it from the Internet and not just on your local router, except if you set up a bridge between the internal networks.
Hmm. For Chromecast to work locally the same vlan is required.I'm not even sure what that means at a router level; I assume it's referring to IGD rather than the UPnP protocol as a whole.
UPnP is certainly required for the UPnP interface, but I don't believe it's necessary for the management of a device, nor for non-UPnP playback e.g. Quboz/Tidal/Spotify connect e.t.c.
Not sure I follow. VLAN to VLAN is all local; no internet required.
I'm currently casting from a DLNA server on one VLAN to the Chromecast interface of my Pro on another.
Yes, as I said in my first postIf you want Chromecast to work across vlans, your router/switch must support multicast routing and be configured to forward mDNS traffic between VLANs.
It uses mDNS which does work across vlans if discovery broadcasts are relayed.
Doing that can be both a security risk and a performance issue. So be careful. This is not a normal setup.Relaying the broadcasts might be what the OP is missing.
How can it be less secure/performant than having the WiiM on the same VLAN? Obviously relaying the broadcasts is an overhead, but only marginal at best.Doing that can be both a security risk and a performance issue. So be careful. This is not a normal setup.
If both vlans are local, there may not be any issues. In that case it will just work as one bigger network with all multicast requests going to both.How can it be less secure/performant than having the WiiM on the same VLAN? Obviously relaying the broadcasts is an overhead, but only marginal at best.
Just relaying broadcasts doesn't allow communication, that's down to firewall rules. Whilst on my iOT VLAN WiiM can only respond to the WHA on my phone, so whilst it does present an attack vector it's very limited.Multiple vlans are usually for network isolation. So why having them if you open for cross lan communication?
Interesting, I wasn't able to configure it, but I have older version of pfsense and I tried avahi for "reflection". I suspect it reflection part may be the problem, I see traffic across vlans and discovery works as well with `dns-sd -L "WiiM-AMP-xxx" _googlecast._tcp local`It uses mDNS which does work across vlans if discovery broadcasts are relayed.
I currently have my Pro on the same vlan as I wanted to use the UPnP interface (which I haven't managed to get working across vlans), but management should work across vlans; I'll shift mine back shortly and test.
EDIT:
I moved the Pro back to my iOT vlan and it's still accessible from the WHA.
I'm using 'UDP Broadcast Relay' in OPNSense to enable discovery and firewall rules to allow the outbound (Home to iOT) connection.
I've just had a quick look, and apart from making sure my phone has access to the WiiM the only other rule I have is to allow mDNS into the router:@simbun could you document your setup? Firewall rules and plugin config for the broadcast. Interested to reproduce it.
I think that means it's a problem with discovery.yeah that work without any problem
I need to ask why you have the WiiM on another lan than your phone. Is it a Mesh network?I was doing all sort of firewall rules and tcpdumps
Does the app actually allow user to manage wiim players it finds on different network?
It finds mine but blocks management with "On other networks" with only option to manage is "Forget"
No, not yet. That was my thought, but I have so old pfsense that it will need packaged custom build. I basically don't want wiim force me to upgrade pfsense even though its past due upgradeI think that means it's a problem with discovery.
Have you tried another relay?