I am attempting to test out RDP access using cloudflare access and --bastion mode to enable access to multiple servers but the documentation is unclear to me and I’m not sure what I’m missing. In the below command meant to be run on the server, --hostname should be the sub domain setup in cloudflare correct?
cloudflared tunnel --hostname rdp.site.com --bastion
Then from the client:
\cloudflared.exe access rdp --hostname rdp.site.com --url localhost:2244 --destination rdpserver:3389
hostname here should be the server I am trying to connect to? And rdpserver:3389 should be the server I setup the tunnel on?
Thanks for any help, I’ve tried all combinations and nothing appears to work. Currently I just get an error saying: failed to connect to COMPUTER with error: dial tcp: lookup COMPUTER: no such host