Linux disable ping to machine

# /etc/sysctl.conf or /etc/ufw/sysctl.conf
net.ipv4.icmp_echo_ignore_all =1
Back