From 02bd3e4d31ba04a7cddddade94dffa903d013efc Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 17 Jul 2021 08:41:34 +0000 Subject: [PATCH] bvm-nixosmgmt: enable forwarding --- ops/nixos/bvm-nixosmgmt/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/bvm-nixosmgmt/default.nix b/ops/nixos/bvm-nixosmgmt/default.nix index e3a0c50d0b..cc675828b5 100644 --- a/ops/nixos/bvm-nixosmgmt/default.nix +++ b/ops/nixos/bvm-nixosmgmt/default.nix @@ -10,6 +10,8 @@ ]; # Networking! + boot.kernel.sysctl."net.ipv4.ip_forward" = 1; + boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1; networking = { hostName = "bvm-nixosmgmt"; hostId = "49b0fbc7";