//** Command to disable ping on the server solution given below **//:--
Step 1>
Command to disable PING:-
echo "1" >> /proc/sys/net/ipv4/icmp_echo_ ignore_all
****************************** **************
Step 2>
Command to enable PING :-
echo "0" >> /proc/sys/net/ipv4/icmp_echo_ ignore_all
****************************** ****************
Step 3>
**Note:--Ping can also be disbale to following command :-
# iptables -A INPUT -p icmp -j DROP
--------------------------************----------------------------
No comments:
Post a Comment