[CentOS] [OT] Remote control of a WinXP machine from a Linux host
tnelson at rockbochs.com
Sat Jan 10 00:11:49 UTC 2009
----- "Marko Vojinovic" <vvmarko at panet.co.yu> wrote:
> Sorry for an off topic post, but a lot of you folks are sysadmins here
> there, and just might have a suggestion... ;-)
> I have a WinXP machine that is to be unattended for a period of 3
> years (yes,
> I know, it sounds ridiculous, but still...). What I need is remote
> access to
> it to perform regular system maintenance, virus cleanups, occasional
> installations, reboots, config changes, etc.
> Of course, rdesktop would do it, or vnc server or something else. The
> is that this machine is behind a NAT, and I cannot access it remotely
> outside (and I need access from whereever on the planet I may happen
> to be).
> Basically, I need to setup some type of ssh tunnelling from XP
> (machine A) to
> my static-IP-24/7-high-bandwidth-CentOS server (machine B) and then
> to my laptop (machine C, Fedora 10) located elsewhere (possibly behind
> another NAT, I can't know in advance). I have root access for all
> machines (A, B and C). Of course, all three are on different LANs.
> However, I have never done anything like this before, so I wonder what
> is the
> best method of creating such a setup?
> One of my ideas was to make some script on A which would connect to B
> every 15 minutes or so, look for a flagfile, and if present, initiate
> connection with C directly or through B if necessary. That means, if I
> access from C to A, I ssh from C to B and create a flagfile, wait 15
> or so, and a rdesktop (or vnc or other) appears on my laptop. In
> Or is there some other XP-tool that might do what I want out of the
> However, it need be absolutely automatic, there will be nobody around
> to do
> anything locally on A once I leave it.
> Another idea I had was to have machine A running as a virtual machine
> on a
> CentOS host (vmware or such would suffice). Then I could easily
> configure the
> above A-to-B-to-C scenario, shutdown the virtual A, pull its hard disk
> to C, start it locally, perform maintenance, push it back to host A
> and run
> it again as a vm. But this is highly complicated, takes too much time
> bandwidth, so I hope something simpler is available.
> Yet another idea is to ask A's ISP to provide a static IP for that
> machine, or
> to forward some available port to A, which could be used by rdesktop
> in some
> customized fashion. But the ISP may refuse such requests, and I need a
> Yet even another idea is to put another CentOS machine (D) between A
> and A's
> ISP (create a local LAN). Then initiate ssh -X connection from C to D
> (somehow, via flagfile scenario or such), and then rdesktop from D to
> A over
> a local LAN.
> The main problem is NAT, if machine A had a world-accessible IP, I
> would just
> rdesktop from C to A, but alas, it doesn't... :-(
> Any suggestions about the best way of doing this?
> Thanks, :-)
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS