UFW 允许 Multicast
1 2 3 4 5 6 7 8 9 10 |
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 |