From 8ae06b5f397dd2923ac0507c357064726d942cee Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Dec 2021 09:20:46 +0100 Subject: surtr: ip forwarding --- hosts/surtr/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts/surtr/default.nix') diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index 70a825a4..2a3e6bb0 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix @@ -87,6 +87,12 @@ }; }; }; + boot.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; + }; services.timesyncd.enable = false; services.chrony = { -- cgit v1.2.3