-
-
Notifications
You must be signed in to change notification settings - Fork 17
Firewall rules
Rafostar edited this page Sep 4, 2019
·
2 revisions
Additional firewall rules required for proper connection.
Only needed when default firewall config is aggressive (on default firewall settings at least Ubuntu and Fedora do not need this).
Allow multicast:
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A FORWARD -m pkttype --pkt-type multicast -j ACCEPT
iptables -A OUTPUT -m pkttype --pkt-type multicast -j ACCEPT
Chromecast devices network scanning:
iptables -I INPUT -p udp --dport 5353 -j ACCEPT
Allow connections to http server (replace port number with the one set in extension settings):
iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
Allow Chromecast UDP data (inbound and outbound):
iptables -I INPUT -p udp -m udp --dport 32768:61000 -j ACCEPT
iptables -I OUTPUT -p udp -m udp --sports 32768:61000 -j ACCEPT
Allow Chromecast TCP data:
iptables -I OUTPUT -p tcp --dports 8008:8009 -j ACCEPT