CentOS系统ping(ICMP)开启和关闭方法 |
使用CenOS系统的云服务器客户,也有部分人是需要关闭ping请求的(ICMP),可以使用以下命令来快速实现: 1.关闭ping请求 sysctl -w net.ipv4.icmp_echo_ignore_all=1 sysctl -p 2.开启ping请求 sysctl -w net.ipv4.icmp_echo_ignore_all=0 sysctl -p |
CentOS系统ping(ICMP)开启和关闭方法 |
使用CenOS系统的云服务器客户,也有部分人是需要关闭ping请求的(ICMP),可以使用以下命令来快速实现: 1.关闭ping请求 sysctl -w net.ipv4.icmp_echo_ignore_all=1 sysctl -p 2.开启ping请求 sysctl -w net.ipv4.icmp_echo_ignore_all=0 sysctl -p |
中华人民共和国增值电信IDC+ISP许可证:B1-20173071
工信部备案:苏ICP备13016482号
苏公网安备 32050602010938号
Copyright © 2007-2022 星空云 xkyun.com All Rights Reserved. 苏州瑞网信息技术有限公司 版权所有