enable / disable icmp linux

enable / disable icmp linux

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

enable :
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

Leave a Reply

Your email address will not be published. Required fields are marked *

13 + 17 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.