Computer Networks/Ping/Disable Ping Response in Linux


Ping off: [1]

  • echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all

Ping on:

  • echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all
  1. https://unix.stackexchange.com/questions/412446/how-to-disable-ping-response-icmp-echo-in-linux-all-the-time