From bfca49120e8ded0a9561ad86489c5207353d27ff Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 22 Dec 2023 00:09:52 +0100 Subject: [PATCH] nix(sysctl): enable ipv6 forwarding --- nix/modules/sysctl.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/modules/sysctl.nix b/nix/modules/sysctl.nix index 723a6ef..498f1d4 100644 --- a/nix/modules/sysctl.nix +++ b/nix/modules/sysctl.nix @@ -4,6 +4,7 @@ "vm.swappiness" = 2; #"vm.vfs_cache_pressure" = 80; "net.ipv4.ip_forward" = 1; + "net.ipv6.conf.all.forwarding" = 1; #"net.ipv4.tcp_window_scaling" = 0; # as per https://wiki.archlinux.org/index.php/Sysctl#Improving_performance "net.core.rmem_default" = 1048576;