In Linux, if you want to make ping no response, it is used to ignore the ICMP package. You can perform the following command at the terminal: Echo 1> / proc / sys / net / ipv4 / icmp_echo_ignore_all If you want to resume the following command: Echo 0> / proc / sys / net / ipv4 / icmp_echo_ignore_all