nano: add useful settings/packages for routing
Alan Pearce alan@alanpearce.eu
Thu, 13 Feb 2025 21:46:30 +0100
1 files changed, 10 insertions(+), 0 deletions(-)
jump to
M system/nano.nix → system/nano.nix
@@ -52,6 +52,13 @@ boot.kernelModules = [ "tcp_lp" ]; boot.kernel.sysctl = { + "net.ipv6.conf.all.accept_ra" = 0; + "net.ipv6.conf.all.autoconf" = 0; + "net.ipv6.conf.all.use_tempaddr" = 0; + + "net.ipv6.conf.${wan}.accept_ra" = 2; + "net.ipv6.conf.${wan}.autoconf" = 1; + "net.ipv4.tcp_slow_start_after_idle" = 0; "net.ipv4.tcp_ecn" = 1; "net.ipv4.tcp_fastopen" = "0x3"; @@ -296,6 +303,9 @@ file tree lsof knot-dns + ethtool + tcpdump + conntrack-tools ]; programs.fish.enable = true;