From 5b271b7b4a30906a68769a8c00d3ca2f939fb9ec 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 c3651de..0ee8d14 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 1c:1b:b5:14:9c:e5 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:1b:b5:14:9c:e5, 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" } ''; };