禁止ping功能

系统配置文件 /etc/sysctl.conf

添加配置 net.ipv4.icmp_echo_ignore_all=1

重新生效 sysctl -p

posted @ 2022-06-07 22:58  ho966  阅读(36)  评论(0编辑  收藏  举报