nix(sysctl): enable ipv6 forwarding

This commit is contained in:
surtur 2023-12-22 00:09:52 +01:00
parent 62a29bf478
commit bfca49120e
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -4,6 +4,7 @@
"vm.swappiness" = 2; "vm.swappiness" = 2;
#"vm.vfs_cache_pressure" = 80; #"vm.vfs_cache_pressure" = 80;
"net.ipv4.ip_forward" = 1; "net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
#"net.ipv4.tcp_window_scaling" = 0; #"net.ipv4.tcp_window_scaling" = 0;
# as per https://wiki.archlinux.org/index.php/Sysctl#Improving_performance # as per https://wiki.archlinux.org/index.php/Sysctl#Improving_performance
"net.core.rmem_default" = 1048576; "net.core.rmem_default" = 1048576;