From be1254f29c832b18f9fc538fe598b02dfbcc53a3 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 9 May 2024 00:04:21 +0100 Subject: [PATCH] bordervm enable nat --- bordervm-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bordervm-configuration.nix b/bordervm-configuration.nix index cd8a3a9..10022c4 100644 --- a/bordervm-configuration.nix +++ b/bordervm-configuration.nix @@ -133,6 +133,11 @@ in { useDHCP = false; ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24;}]; }; + nat = { + enable = true; + internalInterfaces = [ "eth1" ]; + externalInterface ="eth0"; + }; }; users.users.liminix = { isNormalUser = true;