Block devices from casting

Search This thread

vwgti18

Senior Member
Apr 28, 2011
513
125
Sacramento
Any way to block devices from casting? I hate that my litter brother can cast on my chromecast in my room i had to take his tablet away because he thought it was hilarious to keep changing my google music to a stupid youtube video....smh
 

jumpmanjay

Member
May 31, 2012
29
5
Any way to block devices from casting? I hate that my litter brother can cast on my chromecast in my room i had to take his tablet away because he thought it was hilarious to keep changing my google music to a stupid youtube video....smh
Buy a wireless router. Connect the WAN port on that router to your existing network. Configure your devices for said router. Don't give your little brother your WiFi password.

Alternatively, just punch him in the stomach the next time he does it.
 
Last edited:

sake40

Member
Dec 11, 2010
20
0
Phoenix
Any way to block devices from casting? I hate that my litter brother can cast on my chromecast in my room i had to take his tablet away because he thought it was hilarious to keep changing my google music to a stupid youtube video....smh

Try to uninstall the setup app on his tablet. I think that will get rid of the button.
 

cmstlist

Senior Member
Jan 11, 2010
3,348
522
Toronto
Google Pixel 4a
I would have no idea how to write these rules exactly, but if you have a Linux router you could:
- Assign a static DNS lease to Chromecast's MAC address
- Assign a static DNS lease to his tablet's MAC address
- Set up some iptables commands that discard all traffic directed from the tablet to Chromecast
- Or you could even go further and assign all your devices to a whitelisted range of IP addresses, configure the dynamic DNS range to be outside of that whitelist, and discard all traffic to Chromecast from outside the whitelist.

Alternatively it may be possible to segregate the network into two SSIDs that act as separate LANs.
 
Last edited:

vwgti18

Senior Member
Apr 28, 2011
513
125
Sacramento
Try to uninstall the setup app on his tablet. I think that will get rid of the button.

He never had the setup app installed its just the new youtube update can detect the chromecast.


So what I did since I have ddwrt on my router I made a virtual ssid and connected him to that so hes not on my network no more. And now he cant stream movies from my hdd to his tab now im the one laughing haha.

Sent from my SPH-L900 using Tapatalk 4
 

jumpmanjay

Member
May 31, 2012
29
5
I would have no idea how to write these rules exactly, but if you have a Linux router you could:
- Assign a static DNS lease to Chromecast's MAC address
- Assign a static DNS lease to his tablet's MAC address
- Set up some iptables commands that discard all traffic directed from the tablet to Chromecast
- Or you could even go further and assign all your devices to a whitelisted range of IP addresses, configure the dynamic DNS range to be outside of that whitelist, and discard all traffic to Chromecast from outside the whitelist.

Alternatively it may be possible to segregate the network into two SSIDs that act as separate LANs.

I think you mean static IP...or even static DHCP entry...

But no, that linux configuration would not work. Once devices get each other's mac address, the traffic between the two does not go between the router, it is just switched.
 
Last edited:

vwgti18

Senior Member
Apr 28, 2011
513
125
Sacramento
Me and my brother are on different ssid now and the chromecast cast button does not show up on his youtube app.

Sent from my SPH-L900 using Tapatalk 4
 

2rare2die

New member
Jan 8, 2011
2
1
If your brother's device is rooted: download an app from the Play Store called DisableService. I believe it's free. Open it up, click on the System tab, search for Google Play Services. Once you locate the Google Play services app, tap on it, and you should see a very long list of associated services pop up. Scroll through the list and uncheck pretty much anything starting with the word Cast. Exit out, reboot the device, and voila - the device cannot cast anymore.

This is also very useful if you'd like to prevent accidentally castng porn or something inappropriate on a community/public Chromecast device.

Oh and yeah obviously to re-enable just follow the same steps except recheck all the things, then reboot.