From 88cf6a401b16a8d39d3cf72e2342d1a84d9eefd8 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 12 Jan 2025 22:35:50 -0500 Subject: [PATCH] Infini-DL360: setup nat for virtual ethernet interfaces --- hosts/Infini-DL360/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/Infini-DL360/default.nix b/hosts/Infini-DL360/default.nix index 869710b..7701a1a 100644 --- a/hosts/Infini-DL360/default.nix +++ b/hosts/Infini-DL360/default.nix @@ -67,6 +67,12 @@ dhcpcd.denyInterfaces = [ "eno*" ]; defaultGateway = { address = "192.168.137.1"; interface = "br0"; }; + + nat = { + enable = true; + internalInterfaces = [ "ve-*" ]; + externalInterface = "br0"; + }; }; boot.kernel.sysctl = {