|
@@ -7,4 +7,12 @@ if [ "$CURR_USER" != "root" ]; then
|
|
|
exit
|
|
|
fi
|
|
|
|
|
|
+# Enable ping reply Permanently
|
|
|
+# You can permanently disable the ping reply using the following method.
|
|
|
+# Step 1: Edit the sysctl.conf file and add the following line.
|
|
|
+# net.ipv4.icmp_echo_ignore_all = 0
|
|
|
+# Step 2: Execute sysctl -p to enforce this setting immediately.
|
|
|
+# sysctl -p
|
|
|
+# The above command loads the sysctl settings from the sysctl.conf file.
|
|
|
+
|
|
|
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all
|