From 91e681e879dbb1c0773079bab382f4f2b0ec143c Mon Sep 17 00:00:00 2001 From: kalipso Date: Thu, 23 Jan 2025 19:03:46 +0100 Subject: [PATCH] [fanny] nat microvm traffic --- machines/fanny/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/machines/fanny/configuration.nix b/machines/fanny/configuration.nix index 6d215a3..1d16e76 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -72,6 +72,12 @@ in services.malobeo.microvm.deployHosts = [ "overwatch" "infradocs" "nextcloud" "durruti" ]; networking = { + nat = { + enable = true; + externalInterface = "enp1s0"; + internalInterfaces = [ "microvm" ]; + }; + firewall = { allowedTCPPorts = [ 80 ]; };