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_all
Subscribe to:
Post Comments (Atom)
You Can find here the tips that was the most useful for server administration in Linux
No comments:
Post a Comment