Friday 9 February 2018

How to allow VLC 3.0 to cast to Chromecast if you have a firewall enabled on Linux

VLC 3.0 recently came out, with the ability to cast to a Chromecast device. However, if you are behind a firewall, such as UFW, a front-end for "iptables", you need to whitelist a certain port.

That port is 8010.

Here is an image on what exactly to type in to allow this port from only your Chromecast, in GUFW (GUI for UFW):

Note: Replace with the IP address of the Chromecast on your network that you want to cast to.

I hope you found this useful.


  1. Thanks a lot! I found different and complicated explanations that at the end didn't work for me... But yours is really simple and works very well!! :D

  2. The IP address you put in firewall settings is your TV IP for example - not your computer where you stream from.

  3. Superb article. Thanks for posting. It was worth reading.
    Linux Classes in Pune