I think I got the storj node to work on my VPS. When I do
$ docker ps -a
I see it is online, the ingres and egress has data flowing, and . Only problem is I can’t see the dashboard. I can’t use localhost address as it is CLI only, and the ip plus port redirection doesn’t load a page.
OP here, Alexey’s solution to have make ssh tunnel back to local machine and display localhost port works. Use cli on you local machine to create ssh tunnel, then connect back.
I’m not sure exactly how it works as I had no idea this was possible, i think it’s like a bridge connection or port merging.
Local machine > ssh to vps > instruct to tunnel back to localhost with port merging (or whatever the real name is)
It’s not safe, while the socat is running. And you need to have a ssh access to the console anyway to run that sidecar container.
The only secure solution is to use VPN or ssh tunneling. A less secure solution is to use a reverse proxy with basic authentication, but without SSL it would be not better than expose your port directly - the basic credentials without SSL could be easily intercepted.