all repos — nixfiles @ 45b5b9a88244fd16936adcb158cb66673086a685

System and user configuration, managed by nix and home-manager

nano: add useful settings/packages for routing

Alan Pearce
commit

45b5b9a88244fd16936adcb158cb66673086a685

parent

1402361310f86dd85190cacb3be3d18bf8dc7705

1 file changed, 10 insertions(+), 0 deletions(-)

jump to
M system/nano.nixsystem/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;