Thanks for your reply. I already have the VPN connection taken care of (it uses a custom application installed on the router, not the built-in OpenVPN client) so won't be able to use that script. The part I am stuck with is figuring out how the Chromecast is bypassing all my attempts to block...