I am trying to setup NVIDIA Sync to access my freshly arrived DGX Spark from remote locations.
When at home, there is no problem. I have a local IP and port 22 is the port I use for access. But when outside, I have a NAT to access several computers, so the exposed port is not port 22.
Is there a way to setup the access to a non standard port to go through NAT?
PS: I have an ssh configuration (.ssh/config) on the computer where I run NVIDIA Sync. This file has a name for remote access setting up the port:
```
Host dgx
Hostname
Port
```
but if I enter that name in the setup box, the setup gives an error saying the name already exists.
Instead of exposing the SSH port to the Internet, Tailscale would allow you to connect to the Spark through NAT via a VPN and is a supported configuration:
https://build.nvidia.com/spark/tailscale
Being able to specify a port (rather than just a host name or ip) seems a reasonable request. And this response of mapping new VPN tunnels for every user of the node/cluster seems a bit much.
FWIW, you can probably have the same functionality by tunneling traffic through your SSH session (i.e., setting up a SOCKS proxy). That allows you to have Terminal/Shell access as well as Web access (e.g., to port 11000 etc.) But I agree with the OP that it would be nice if the script did all that for you automagically. ;)
@michel.lesoinne - you might customize the port from ~/.config/NVIDIA/Sync/config/ssh_config .
Can a cloudflare tunnel do the same? I do a lot of things via cloudflare but have not used their tunnels yet.