How to open a RDP connection to a device that doesn't has direct access to internet using Azure Service Bus Relay
In one of the previous post I presented a mechanism that can be used as tunneling solution for Remote Screen Sharing using Azure Service Bus Relay.
- Screen Sharing using Service Bus Relay (Azure) - an out of the box Tunneling (Port Bridge) solution - http://vunvulearadu.blogspot.ro/2015/03/screen-sharing-using-service-bus-relay.html
But what is happening when you need to establish a Remote Screen Sharing session with a machine that is in a private network without direct access to internet.
For this case we would need a mechanism to forward the packages from the central machine, which has access to the internet to the other machine. In theory this could be done very simple, but in practice this could be done pretty hard, because forwarding packages to another machine is not a simple task.
On top of this, it would be great if we could do this without having a custom application on the target machine.
One solution is to use Service Bus Relay and Port Bridge application as presented in the previews link. A custom application will need to be installed only on:
- The client machine (that is used to access the remote machine)
- The central machine (that has access to internet from private network)
The current application presented in the previous post allow us to specify the target host and port. Using this configuration we can specify directly the target device:
<add targetHost="DeviceIP" allowedPorts="3389" />
This simple solution in combination with Service Bus Relay can allow us to be able to access machines without direct access to internet in a very simple and easy way.
Comments
Post a Comment