Launch remote website through rdm server
Hello all,
I'm facing an issue where I cannot seem to find what I need.
Situation is as follows:
Local machine is connecting to a RDM instance on a remote server (through vpn). That part is working fine.
Through the RDM server, I use RD gateway with a user/pass to connect to remote desktops that my machine cannot access, but the remote RDM server can access.
Besides the RDP sessions, I would also like to make connection to a remote website. Again, the RDM server can reach this site, but my local machine cannot.
I can't seem to find anything similar to rd gateway for http(s) traffic. Is that option in RDM? Or do I need to be creative with tunneling though SSH sessions or something like that?
Regards,
Frank
2x SSH tunneling and RDP
Hi James,
the tunnel itself is pretty straightforward.


As for testing it in the production environment, that cannot be done unfortunately. That RDM instance is older (2019 version) and does not have the correct options yet.
I'm still doing some testing, hope to get this working soon.
2x SSH tunneling and RDP
Hello James, Chad,
I finally got around to doing a good day of testing. Above post of Chad was very helpful indeed.
I made a connection the makes an SSH tunnel to the customer, and has to connect through a gateway of our own network. This double hop is working, when I start it manually, it gives the message listening on 127.0.0.1:5001 (our chosen port).
Next, I made an RDP connection to a host at the customer.

In VPN/SSH/Gateway selected "Configure - SSH". This gave a lot different options than "Existing - SSH".
I used the settings supplied by Chad above and was able to get a connection through RDP, after I opened the tunnel manually first.

I have two questions remaining.
Is it possible to open the tunnel automatically on first connect and close after last close?
I use a specific user to connect to SSH, but use different users when connecting to the Windows Servers. When I right-click the entry and select "Open with Parameters -> Open (Select credentials), Both the SSH authentication and the Windows host try to authenticate with those credentials. Not sure if that's a bug or if that's by design, but would be rather annoying if everybody has to enter credentials every time. For this instance I was using a local data source, but normally we use one central data source and users will "Edit user specific credentials" and store those in private vaults.
Thanks for all your help so far.
Frank
2x SSH tunneling and RDP
Hello James, Chad,
sorry for my delay in response, I had a big project that required all my time.
We've been trying to get this configured, but we still are unable to get everything working.
What we managed so far is setting up the first VPN tunnel. For the second tunnel, we required a connection through the first tunnel, this is also working fine. Next, we setup a SSH session to a different host at the customer through the double tunnel, which is also working as expected.
Next thing we're trying to setup is the RDP session through the tunnel, but I'm a little stuck where I need to enter the settings as suggested by Chad.
Is this in in the tab "VPN/SSH/Gateway"? I'm trying to use "type: session", but I'm unable to find where I need to enter all these settings.
Frank
2x SSH tunneling and RDP
Hello James,
could you give us a status update? We're currently trying to decide if we would go ahead with an alternative configuration (not preferable) or if we will wait for this feature.
Thanks for your reply.
Frank
2x SSH tunneling and RDP
Short update, I'm working with Roel on getting this issue fixed, but we haven't found a solution so far. That is, we do not have the knowledge how to build it correctly in RDM.
From my laptop I can open an SSH session to the first jumphost, from there open a SSH session to the jump host at the customer and at that point I can access a switch through ssh. That means that connectivity is there.
I tried re-creating that in RDM, but opening a SSH tunnel with a prerequisite SSH tunnel will not open the second tunnel. It seems that my laptop (rdm client) tries to open both tunnels locallly.
I added an entry in RDM to the jumphost at the client with a SSH Gateway (jump host). This works as expected, but I'm a bit lost how to build/chain everything together. Also, how we can open other applications, like vsphere client, web sites and rdp sessions through this method.