'SSH tunnelling when using a load balancer and a VM inside a private subnet
I have a loadbalancer on Azure and a VM in a private subnet. I want to know if it is possible to do ssh port forwarding by using putty to my VM. I have a rule in my load balancer which map port 80 of my load balancer to the same port on one of VMs in the backend pool.
Is it poosile to do ssh tunneling over loadbalancer to a private VM?
Thanks
Solution 1:[1]
You can set a NAT Inbound Rule to an ephemeral port and select the VM you want to redirect the ssh traffic. Just remember that the port 22 in the Virtual Machine needs to be open.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Pedro Ignacio |
