From 37258071e71a17373e3cf230308fbf3e7abeafc0 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 28 May 2022 21:56:37 +0200 Subject: [PATCH] services/backbone-routing: forward soda container --- hosts/VEGAS/services/backbone-routing/port-forward.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/VEGAS/services/backbone-routing/port-forward.nix b/hosts/VEGAS/services/backbone-routing/port-forward.nix index 0c69ca3..7c13777 100644 --- a/hosts/VEGAS/services/backbone-routing/port-forward.nix +++ b/hosts/VEGAS/services/backbone-routing/port-forward.nix @@ -1,8 +1,10 @@ +{ hosts, ... }: + { networking.nat.forwardPorts = [ { sourcePort = 52222; - destination = "10.10.2.205:22"; + destination = "${hosts.soda.interfaces.primary.addr}:22"; proto = "tcp"; } ];