Tie a remote desktop entry to a particular network adapter
0 vote
Hello all,
I have multiple network adapters which are physically connected to particular subnets. Some PCs on the subnets will only talk to PCs on their subnet either via local firewall or network firewall, network layout, etc.
I chatted with technical support and they stated to make a feature request to see if anyone else would wish this feature.
Since I remote desktop into servers alot which are locked down I thought this would be a great feature to have.
Thank you,
Franco Magliaro
Hello,
Could you give us more detail on what you would like RDM to do exactly?
Regards
David Hervieux
Hello David,
I don't think the rdm protocol has the option to pick a netword card. I was thinking of the same thing that Oracle Virtualbox or VMware workstation. Where you can setup a network adapter/switch. And you assign the network adapter to the virtual machine.
THank you,
Franco Magliaro
You need to give me a clue on how you can script that. Perhaps a lib or a PowerShell script? I don't know where to start.
Regards
David Hervieux
Hello David,
I don't know. I was hoping there was a win32 or some type of api for such a thing. Or something like this:
https://www.ghacks.net/2016/12/02/change-network-adapter-priorities-in-windows-10/
Franco
Ok,
I will see what we can do.
Regards
David Hervieux
Hi Franco,
What you're asking, is: "not existing" in my opinion.
If you want to force traffic to use a special route or adapter, there are 2 options: either on the receiving side ("Server side"), when you have multiple NICs, bind the application (like webserver, or RDP protocol) only to specific adapters, so only via those adapters traffic can come in..
Or, on the sending side, update your routing tables to make sure traffic to a certain destination goes via a specific route (read: NIC). this is an OS setting, and completely outside the RDP client protocol, therefore RDM cannot tie an RDP entry to a particular network adapter. You should do that by updating the routing tables on the OS.
Note: changing adapter priorities will prioritize all network traffic to those other adapters, not traffic for a specific destination. And binding a virtual machine to a NIC is comparable to the Server side where you determine which adapter a VM uses.
Regards, Ben van Zanten