Sysctl has to be run manually? (Solved) thanks to ClaW
Posted: Sun Apr 03, 2011 2:50 am
Wanted to turn of answering PING permanently so I added the line to /etc/sysctl.conf.
However that didn't help. After reboot PING were still answered until I manually ran sysctl -p
Thus it seems like sysctl isn't run automatically. What should I do?
Code: Select all
net.ipv4.icmp_echo_ignore_all = 1
However that didn't help. After reboot PING were still answered until I manually ran sysctl -p
Code: Select all
gorade@hippocampus:~$ sudo sysctl -p
[sudo] password for gorade:
vm.swappiness = 10
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1
gorade@hippocampus:~$