UFW 允许 Multicast

sudo ufw allow in proto udp to 224.0.0.0/4
sudo ufw allow in proto udp from 224.0.0.0/4

#/etc/ufw/before.rules
# allow IGMP
-A ufw-before-input -p igmp -d 224.0.0.0/4 -j ACCEPT
-A ufw-before-output -p igmp -d 224.0.0.0/4 -j ACCEPT

#/etc/ufw/before6.rules file
-A ufw6-before-input -p icmpv6 --icmpv6-type 130 -s xxxx/64 -j ACCEPT

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.