From c147ee631e126f11a98418424bcdd1e177365788 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sat, 7 Dec 2024 01:30:03 +0100 Subject: [PATCH] added the ipv4 and ipv6 passthrough, I hope this works now --- nixos/hosts/wheatley/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index ee431bb..86ebdf2 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -237,6 +237,11 @@ }; }; + boot.kernel.sysctl = { + "net.ipv4.ip_forward" = 1; + "net.ipv6.conf.all.forwarding" = 1; + }; + # enable NAT networking.nat.enable = true; networking.nat.externalInterface = "end0";