From 933d758e3b206865165b02ce2a4059e5b3bd8484 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 10 Dec 2024 00:33:31 +0100 Subject: [PATCH] force packet forwarding to true --- systems/LoutreOS/network.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/systems/LoutreOS/network.nix b/systems/LoutreOS/network.nix index 6c97c79..869597c 100644 --- a/systems/LoutreOS/network.nix +++ b/systems/LoutreOS/network.nix @@ -2,7 +2,12 @@ { boot = { - kernel.sysctl."net.ipv6.conf.all.forwarding" = true; + kernel.sysctl = { + "net.ipv6.conf.all.forwarding" = true; + "net.ipv6.conf.default.forwarding" = true; + "net.ipv4.conf.all.forwarding" = true; + "net.ipv4.conf.default.forwarding" = true; + }; }; # Enable LTE drivers