Is there a Terminal Services gateway for Linux?

7,931

Which of the following situations do you mean?

  1. [RDP client on Windows machine] => [linux server] => [windows Terminal Server]

  2. [RDP client on MacOSX/Linux machine] => [linux server] => [windows terminal Server]

    • If #2 is the case, use 'sshuttle' from https://github.com/apenwarr/sshuttle It will allow you to tunnel from your MacOSX/Linux machine to the linux server and proxy your TCP connections destined for the ip address/ip address ranges through the linux server.

Edit:

Based on the comment, it sounds like what is desired is:

[client(s)] => [proxy server] => [pool of windows servers]

Client only has login credentials and connect information to the proxy server. Based on the client's login credentials, they would only be able to connect to their own windows machine in the backend pool.

To that end, a login session manager and a session key-based proxy would allow for "anonymous" access to the backend pool.

This article comes to mind:

http://blog.loadbalancer.org/load-balancing-windows-terminal-server-haproxy-and-rdp-cookies/

While not a complete solution, it allows for persistent connections between a remote client and a windows terminal server on the backend. With an appropriate bit of app coding to enforce a particular backend host to a particular remote client on login to the web interface, you should be able to implement what you are asking about.

Share:
7,931

Related videos on Youtube

toakleaf
Author by

toakleaf

Updated on September 18, 2022

Comments

  • toakleaf
    toakleaf almost 2 years

    I need to route RDP connections to an available XP virtual machine through linux. Is there such a software?

    I have a pool of Windows Machines (VM) all with different IP addresses and I want the proxy

    1. hide all these different IP addreses. Someone connecting will have only the proxy address
    2. the proxy will route to an available Windows VM (no one is using)
  • toakleaf
    toakleaf about 11 years
    thanks @Wing Tang Wong but the situation goes a bit behond that.