bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
698 stars 115 forks source link

RDP File Download and Edit Issue #69

Open suryasuryas opened 1 year ago

suryasuryas commented 1 year ago

Hi @bolkedebruin, I'm having trouble figuring this out—can you help me?

  1. I have two people, and one person connects to one computer and the second person connects to a different computer. How can I download the RDP file for a specific host intended for a particular person?

  2. Whenever I try to edit an already downloaded RDP file to connect to the other computer, I receive the following error message: image I also tried adding the line "HostSelection: any" to the rdpgw.yaml file, but it gave me an error saying "invalid query parameter." Can you help me solve this?

bstaeheli commented 1 year ago

Hi @suryasuryas

Your users can open a connection to a specific RD-Host directly with the host parameter on the connection uri: https://rdpgw/connect?host=172.18.1.1

I didn't found any documentation about it, but i saw it on the Issue #70

bigbenz8 commented 6 months ago

Hi @suryasuryas

Your users can open a connection to a specific RD-Host directly with the host parameter on the connection uri: https://rdpgw/connect?host=172.18.1.1

I didn't found any documentation about it, but i saw it on the Issue #70

I've used this method to get the .rd configuration, and after several tests I've found that the generated host address is still random. Then I added HostSelection: signed to the configuration file (rdpgw.yaml) and this configuration option asked me to add another configuration option (querytokensigningkey, but I don't know how to add this selection correctly) and so far it still hasn't been configured and running successfully.