Last update at :2024-05-15,Edit by888u
Centos system allows ping by default. If you have server root account management rights, you can permanently disable ping by modifying the Centos system kernel parameters. Edit the /etc/sysctl.conf file.
vi /etc/sysctl.confAdd the following content at the end of /etc/sysctl.conf:
net.ipv4.icmp_echo_ignore_all=1 //1 is disabled, 0 is enabledExecute after saving and exiting:
sysctl -pEnable the configuration to take effect.
Recommended site searches: IP reverse domain name checking, registration-free space in mainland China, server space, Western Digital registration, registered unregistered domain names, agency service IP, US vps host, domain name reservation, Beijing domain name registration anti-attack IP, < /p>
All copyrights belong to 888u unless special state
发表评论