depot/hosts/VEGAS/services/backbone-routing/port-forward.nix

11 lines
183 B
Nix

{ hosts, ... }:
{
networking.nat.forwardPorts = [
{
sourcePort = 52222;
destination = "${hosts.soda.interfaces.primary.addr}:22";
proto = "tcp";
}
];
}