If you have access to multicast television in your network (such as UNINETT’s IPTV offer), and you’re running Ubuntu’s «Uncomplicated Firewall» aka. ufw, you’ll find that you’re unable to actually watch any of the channels. Here’s how you can adjust your firewall to receive the UDP multicast traffic:
sudo ufw allow in proto udp to 22.214.171.124/4 sudo ufw allow in proto udp from 126.96.36.199/4
This will take care of the coming and going UDP packets, but you also need to allow IGMP packets through. I haven’t found any command to make this change, so instead, you need to open up the file
and add the following lines somewhere before the COMMIT line:
# allow IGMP -A ufw-before-input -p igmp -d 188.8.131.52/4 -j ACCEPT -A ufw-before-output -p igmp -d 184.108.40.206/4 -j ACCEPT
Now you can reload the firewall and you should be able to watch that glorious multicast IPTV.