[root@linuxzgf ~]# echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all
此上两条命令的和允tg下载效果实时生效,查看软硬链接命令






系统环境Centos5
一、系统禁止ping
[root@linuxzgf ~]# echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
二、和允
----------------------------------------------------------------------------------------------------------
/etc/rc.d/rc.local中增加一行
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
0表示允许
1表示禁止
关键词:linux禁ping,和允linux
相关文章:
https://telegramzx.com/?p=1708https://telegramzx.com/?p=2106https://telegramzx.com/?p=658https://telegramzx.com/?p=1137https://telegramzx.com/?p=2646https://telegramzx.com/?p=1502https://telegramzx.com/?p=2641https://telegramzx.com/?p=1208https://telegramzx.com/?p=1620https://telegramzx.com/?p=1216