Skip to content

Instantly share code, notes, and snippets.

@yuriploc
Forked from victorono/chromecast.sh
Last active May 20, 2016 15:53
Show Gist options
  • Save yuriploc/f04e01395312313cbc9f0f98621fbb69 to your computer and use it in GitHub Desktop.
Save yuriploc/f04e01395312313cbc9f0f98621fbb69 to your computer and use it in GitHub Desktop.
Using Google Chromecast from Fedora 20
cat /proc/sys/net/ipv4/ip_local_port_range
firewall-cmd --permanent --add-port=32768-61000/udp
firewall-cmd --reload
firewall-cmd --permanent --zone=home --add-port=32768-61000/udp
# if you use iptables..
# iptables -A INPUT -s 192.168.0.0/24 -p udp -m udp --dport 32768:61000 -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment