Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is the scenario:

  • A Windows XP client
  • A Linux Server

The client is natted/firewalled/unreacheable from outside, the linux server is public.

I need to allow the client, once upon some conditions, to expose the remote desktop port (3389) on the Linux Server, somethig like ssh -R 3389:localhost:3389.

I dream it as a service, or something like that so I can start and stop the "forwarding-session" on my needs.

I've to pilot this session from some program-language (python or ruby mostly).

Any hint?

Thanks in advance.

share|improve this question
up vote 1 down vote accepted

It's a bit late, I suppose, but the stunnel project can be used to forward the Windows port 3389 to the Linux box, such that if you open the port on the Linux box you'll actually be connecting to RDP on the Windows box.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.