mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
Allow outgoing pings
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
3dc13df65f
commit
7654ccfd97
|
@ -19,6 +19,9 @@
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"kernel.sysrq" = 0;
|
"kernel.sysrq" = 0;
|
||||||
|
|
||||||
|
# Yo, WTF?
|
||||||
|
"net.ipv4.ping_group_range" = "0 1000";
|
||||||
|
|
||||||
# Picked from https://github.com/trimstray/the-practical-linux-hardening-guide/wiki/Network-stack
|
# Picked from https://github.com/trimstray/the-practical-linux-hardening-guide/wiki/Network-stack
|
||||||
|
|
||||||
"net.ipv4.icmp_ignore_bogus_error_responces" = 1;
|
"net.ipv4.icmp_ignore_bogus_error_responces" = 1;
|
||||||
|
|
Loading…
Reference in a new issue