Archive for the tag 'ping'

SBDavid

Disable ping requests in Plesk

Disable ping requests in Plesk

By default your server can be pinged by anyone, meaning it is discoverable. You can improve security by changing your firewall to only allow known IP addresses to ping your server.

If your static IP is 192.168.1.1 change the rules under Ping Service in Plesk’s default Firewall rules.

Allow incoming from 192.168.1.1
Deny incoming from all others
SBDavid

Disable ping request to the server

Disable ping request to the server

Diable ping using the following type:

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

or

As superuser, add the following lines to /etc/sysctl.conf

net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1

Then run the following command to cause the change to take effect immediately:

sysctl -p

This change will persist following a reboot.