[GTALUG] Ubuntu -- Disabling Ping
Jamon Camisso
jamon.camisso at utoronto.ca
Wed Aug 29 23:53:51 EDT 2018
On 29/08/18 23:23, Howard Gibson wrote:
>> Try this if you want to go the sudo route:
>>
>> echo 1 |sudo tee /proc/sys/net/ipv4/icmp_echo_ignore_all
>
> It works!
>
> Thank you.
>
> Now all I have to do is stick it in a boot script.
As Alvin Starr pointed out, if you want this to persist, the best way
would be via sysctl. Try putting 'net.ipv4.icmp_echo_ignore_all=1' in a
file in /etc/sysctl.d, or in /etc/sysctl.conf itself.
Cheers, Jamon
More information about the talk
mailing list