webcam and iptables

cokiere

New Member
Joined
Jun 25, 2020
Messages
7
Reaction score
0
Credits
84
hi
i've a odd issue on facebook videocall: the webcam works only if i open in and out iptables and only on facebook.

*filter
:INPUT DROP [32:6432]
:FORWARD DROP [0:0]
:OUTPUT DROP [28:1734]
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A INPUT -p tcp --sport 80 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -p tcp --dport 80 -m conntrack --ctstate NEW,RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp --sport 443 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -p tcp --dport 443 -m conntrack --ctstate NEW,RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p udp --sport 53 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -p udp --dport 53 -m conntrack --ctstate NEW,RELATED,ESTABLISHED -j ACCEPT

thanks for all suggestions
 


Which distro? do you have "cheese" ( a webcam app ).
80 is usually http, 443 is usually https, and 53 is usually dns.
It would seem only 443 would make a little sense.
 
Which distro? do you have "cheese" ( a webcam app ).
80 is usually http, 443 is usually https, and 53 is usually dns.
It would seem only 443 would make a little sense.
hi.
My distro is debian 11. yes: the webcam works with cheese. I have a trouble only with facebook: i have to clean all iptable rule.
I can't fix it.
Thanks
 


Top