From 09f0be34d7e189d0edcd3ec9033dd80a10a35585 Mon Sep 17 00:00:00 2001 From: catvayor Date: Fri, 13 Sep 2024 21:59:18 +0200 Subject: [PATCH] feat(nat): enabling for dgnum members for tests --- machines/vault01/networking.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/vault01/networking.nix b/machines/vault01/networking.nix index ac913e6..68be1c5 100644 --- a/machines/vault01/networking.nix +++ b/machines/vault01/networking.nix @@ -238,7 +238,11 @@ in content = '' chain postrouting { type nat hook postrouting priority 100; - ip saddr 10.0.0.0/16 ether saddr 5c:64:8e:f4:09:06 snat ip to 129.199.195.130-129.199.195.158 + ip saddr 10.0.0.0/16 ip saddr != 10.0.255.0/24 snat ip to 129.199.195.130-129.199.195.158 + ether saddr e0:2b:e9:b5:b4:cc snat to 129.199.195.130 comment "Elias" + ether saddr { 1c:f8:d0:68:03:9f, e6:ce:e2:b6:e3:82 } snat to 129.199.195.131 comment "Lubin" + ether saddr d0:49:7c:46:f6:39 snat to 129.199.195.132 comment "Jean-Marc" + ether saddr { 5c:64:8e:f4:09:06 } snat to 129.199.195.158 comment "APs" } ''; };