Block ICMP
Using /etc/ufw/before.rules
Under “# ok icmp codes for INPUT”
-A ufw-before-input -p icmp --icmp-type echo-request -j DROP
Code language: plaintext (plaintext)
Using /etc/ufw/before.rules
Under “# ok icmp codes for INPUT”
-A ufw-before-input -p icmp --icmp-type echo-request -j DROP
Code language: plaintext (plaintext)