cofractal-ams01: enable IP forwarding

This commit is contained in:
Luke Granger-Brown 2024-10-21 00:20:24 +01:00
parent 1180fff5c7
commit 3082904437

View file

@ -92,6 +92,11 @@ in
boot.kernelModules = [ "kvm-amd" ];
hardware.cpu.amd.updateMicrocode = true;
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;