VLC 3 + Chromecast
To use chromecast from VLC 3 I have to disable UFW. Can anyone tell me how to add a rule so I don't have to disable/enable ufw each time I want to stream something from my laptop to my tv.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Gufw Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2018-07-15
- Last reply:
- 2018-12-15
costales (costales) said : | #1 |
Hi.
I'll convert this in a bug and add the information in there.
I'll include a rule for this if you confirm it is working.
Best regards.
instantkarma (instantkarma) said : | #2 |
first you need to check the HTTP port that vlc is using (for me it was 8010)...
open vlc > tools > preferences > select "all" (at the bottom) > stream output > stout stream > chromecast > HTTP Port = ????.
open gufw,
click "+" to add a new rule,
"Advanced" tab,
"Name" = VLC Chromecast
"Policy" = Allow,
"Direction" = Both
"Protocol" = TCP
"To / Port" = <add your port number here>.
clicked on "Add" then "Close".
Alternatively you could assign a static IP to your chromecast's MAC address via your router's set up page...
then open gufw,
click "+" to add a new rule,
"Advanced" tab,
"Name" = Chromecast,
"Policy" = Allow,
"Direction" = Both,
"Protocol" = TCP
in the "From" field, enter EG: 192.168.1.6,
clicked on "Add" then "Close".
I consider the second approach I gave a much better option than the first.
Works for me.
Can you help with this problem?
Provide an answer of your own, or ask slumbergod for more information if necessary.