I want to disable ping response all the time on my Ubuntu operating system, the following commands work but only until the system reboots:
Ping off:
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
Ping on:
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all
How would I be able to leave echo off even after having rebooted my laptop?