Linux Debian-Based

Block ICMP

Using /etc/ufw/before.rules
Under “# ok icmp codes for INPUT”

-A ufw-before-input -p icmp --icmp-type echo-request -j DROPCode language: plaintext (plaintext)