From af1a275dd828cc875acc4c031f63df667efc6393 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Fri, 14 Nov 2025 14:23:18 +0100 Subject: [PATCH] feat: Add NAT64 VM --- hosts/vm-infra/configuration.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hosts/vm-infra/configuration.nix b/hosts/vm-infra/configuration.nix index fc81430..555e045 100644 --- a/hosts/vm-infra/configuration.nix +++ b/hosts/vm-infra/configuration.nix @@ -18,6 +18,22 @@ # Setup JOOL NAT64 networking.jool = { enable = true; - nat64.default = { }; + nat64.default = { + global.pool6 = "64:ff9b::/96"; + pool4 = [ + { + protocol = "TCP"; + prefix = "10.64.0.1/32"; + } + { + protocol = "UDP"; + prefix = "10.64.0.1/32"; + } + { + protocol = "ICMP"; + prefix = "10.64.0.1/32"; + } + ]; + }; }; }