From 48566d2ef964ec640f824c75a66525edc96cc98b Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 20 Nov 2022 18:42:08 +0000 Subject: [PATCH] nixos/estuary: Always SNAT to ColoClue IPv4 --- nixos/boxes/colony/vms/estuary/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/boxes/colony/vms/estuary/default.nix b/nixos/boxes/colony/vms/estuary/default.nix index 9d96711..55fd0ee 100644 --- a/nixos/boxes/colony/vms/estuary/default.nix +++ b/nixos/boxes/colony/vms/estuary/default.nix @@ -394,7 +394,7 @@ in ${matchInet "meta l4proto { udp, tcp } th dport domain redirect to :5353" "estuary"} } chain postrouting { - ip saddr ${lib.my.colony.prefixes.all.v4} masquerade + ip saddr ${lib.my.colony.prefixes.all.v4} snat to ${assignments.internal.ipv4.address} } } '';