APF blocking ping request

sh4ka

Well-Known Member
May 12, 2005
444
0
166
Uruguay
cPanel Access Level
DataCenter Provider
Hello,
I just need how can I block the ping request for everybody except my computer IP ? Where should I set it (and how) and how should I accept the ping request only for my computer IP?

thkz!
 

Solokron

Well-Known Member
Aug 8, 2003
852
2
168
Seattle
cPanel Access Level
DataCenter Provider
Remove ICMP types from the conf.apf file. In particular for ping, type 8. If your host IP is on the allow list you will be able to ping the server fine regardless of the config.