Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Disable/enable ping to server  (Read 10686 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
Disable/enable ping to server
« on: January 04, 2014, 11:04:34 pm »

To disable ping

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

To enable ping
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_al