Computer Networks/Ping/Disable Ping Response in Linux

From Wikiversity
Jump to navigation Jump to search


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
  • https://unix.stackexchange.com/questions/412446/how-to-disable-ping-response-icmp-echo-in-linux-all-the-time