1
General Discussion / Re: Casting to and controlling Google devices on different VLANs
« on: July 29, 2024, 06:17:14 pm »
Hi! First message here for me but I'm an OPNsense user since more than one year.
Last week I changed my home's WIFI APs to finally be able to separate my devices. Among them, a couple of Google Nest Mini and a Bravia Google TV, so with Chromecast built-in. And I've managed to get them working! First, I installed the mdns-repeater plugin (os-mdns-repeater) and enabled in it my main LAN and the VLAN where Chromcasts devices are. Second, since my firewall rules deny any traffic from that VLAN to my main LAN and others VLANs, (so all in this VLAN is "blind" and going straight to the WAN GW, while my main LAN talks to them), I had to disable WCI (Wireless Client Isolation) and Network Isolation in the APs settings (on my APs I can set these option differently for any VLAN).
Moreover, I'm using AdGuard Home from mimugmail repo as DNS service in OPNsense and I had to do nothing more on its side, clients on Chromecast's VLAN and others are correctly shown in DNS logs.
Casting works perfectly and flawlessy, even the remote controller function of the Google Home app for the Bravia TV, and no signs of lag so far.
Since it happened that I installed my new WiFi AP's the next day OPNsense 24.7 was released, I cannot say if my setup works on 24.1 or any previous release, but I'd think yes.
I hope that my experience can be useful for others.
My hardware setup:
Last week I changed my home's WIFI APs to finally be able to separate my devices. Among them, a couple of Google Nest Mini and a Bravia Google TV, so with Chromecast built-in. And I've managed to get them working! First, I installed the mdns-repeater plugin (os-mdns-repeater) and enabled in it my main LAN and the VLAN where Chromcasts devices are. Second, since my firewall rules deny any traffic from that VLAN to my main LAN and others VLANs, (so all in this VLAN is "blind" and going straight to the WAN GW, while my main LAN talks to them), I had to disable WCI (Wireless Client Isolation) and Network Isolation in the APs settings (on my APs I can set these option differently for any VLAN).
Moreover, I'm using AdGuard Home from mimugmail repo as DNS service in OPNsense and I had to do nothing more on its side, clients on Chromecast's VLAN and others are correctly shown in DNS logs.
Casting works perfectly and flawlessy, even the remote controller function of the Google Home app for the Bravia TV, and no signs of lag so far.
Since it happened that I installed my new WiFi AP's the next day OPNsense 24.7 was released, I cannot say if my setup works on 24.1 or any previous release, but I'd think yes.
I hope that my experience can be useful for others.
My hardware setup:
- Virtualized OPNsense 24.7 running on Proxmox VE 8.2, on a "mini PC" with 6 Intel 2.5 Gbit NICs, 32 GB of LPDDR4 SODIMM RAM, 1 TB NVME SSD: OPNsense VM currently has 4 VCPUs and 4 GB of dedicated RAM and it runs very smoothly - be sure to set your bridge/trunk port on Proxmox as VLAN-aware;
- 8-ports Gbit Managed Switch NETGEAR GS108Ev3;
- WiFi Mesh Kit NETGEAR SXK30 AX1800 WiFi 6, 1 Router SXR30 + 1 Satellite SXS30, it supports up to 4 separate WiFi networks, the fourth is by design "dedicated" to the guest network.