If you have CSF installed, you can disable incoming ICMP requests by changing few parameters in /etc/csf/csf.conf. Find for ICMP_IN & ICMP_IN_RATE. Set them to 0 and restart csf.
Ref:
https://www.milesweb.in/hosting-faqs/disable-icmp-requests-cpanel-server/
Article ID: 63
Created On: Thu, Feb 4, 2021 at 1:00 AM
Last Updated On: Thu, Feb 4, 2021 at 1:00 AM
Authored by: Saeed Nobakht [[email protected]]
Online URL: https://www.navel.ir/article/how-to-disable-icmp-requests-on-cpanel-server-63.html