LKS.tw
刚才有人在群里问怎么禁Ping,我才想到以前没写过相关的资料,所以就立马写了这简短的文章给他看。 禁和解除禁Ping的方法都很简单,就一句罢了,见下文。
禁止ping sysctl -w net.ipv4.icmp_echo_ignore_all=1
允许ping sysctl -w net.ipv4.icmp_echo_ignore_all=0
SSH运行完毕后 实时生效 偶也!
Posted
in
by
kslim
Tags:
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Δ
Leave a Reply