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"; } ];