20250214:UFW如何给IPV6设置禁止Ping

如果需要设置ipv6的禁ping规则,可以修改/etc/ufw/before6.rules: -A ufw6-before-output -p icmpv6 --icmpv6-type echo-request -j DROP -A ufw6-before-output -p icmpv6 --icmpv6-type echo-reply -j DROP 亲测有效