I have a Windows server 2019 that have many VMs instances (running using HyperV). Each VMs has its own private IP and has some apps running inside and expose via ports.

It looks like:

  • VM1: running app nodejs port 3000, private ip:

  • VM2: running app php port 3001, private ip:

Now I want to setup a secure connection so my colleagues can access the apps inside each vm without expose them to internet, how can I achieve it?

If I have a Ubuntu Server and SSH I will use dynamic port forwarding like this article


Does Windows have something alternative?

I have did a lot of tutorials but it seem it does not work for me.

1 Answer 1


You can use a ssh reverse proxy from any terminal (that has the ssh bin) to communicate with your applications.

For instance try this on the client side:

 ssh -NL 3000:localhost:3000 [email protected]

This command won't print anything (except prompting for ssh key's password) and won't stop by itself. To kill the reverse proxy you can do ctrl + C

Now you should be able to curl your application the following way on the client:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.