I have an instance of webmin running inside our office. Within the building I can access via the browser using the ip and port 10000 (as is standard)
Outside the building, the router is not set up to forward port 10000, and I would rather not. However, port 80, 443, and an ssh port (not 22, but another "secret" port) are forwarded.
I am trying to tunnel over SSH with no luck. Is it possible to forward "temporarily" port 10000 from my local browser over SSH to port 10000 on the remote server?
I have tried
ssh -p 1234 -D 10000 user@public.url
ssh -p 1234 -L 10000:public.url:10000 user@public.url
ssh -p 1234 -L 10000:localhost:10000 user@public.url
maybe more combinations of localhost, ip addresses, and urls to no avail.
Is it possible? What command am I looking for? I have used this trick to "browse" port 80 of remote dev computers, but can't figure out how to get port 10000 of webmin.