Re: Windows XP remote desktop over SSH

From: Chris Lewis (no)
Date: 04/27/04

  • Next message: Darren Dunham: "Re: ssh X-forwarding not working aix"
    Date: Tue, 27 Apr 2004 16:20:10 +0100
    
    

    | Ah I see. Thanks I get it now. This stuff is all still very new for me
    and
    | I am obviously worried I will leave something gaping open. I think I'm
    | getting there now though as I can close all ports apart from 22.
    | --
    | Chris Lewis
    |

    Sorry for replying to my own post but here we go again.

    Can someone tell me the exact command I need in putty to do what I describe
    below.

    I have three windows xp pro machines. A is connected directly to the
    internet. B and C are behind a router on a cable broadband connection as
    shown below.

                                    B
                                   /
        A--- internet ----- Router<
                                   \
                                    C

    I want to connect a remote desktop connection from A to B with B as the
    server machine.
    At the moment port 22 on the router is forwarded to B. Nothing else is open
    on the router.

    I have tried using plink with the following command

    plink.exe -ssh -2 -v -L 127.0.0.2:3390:remoteHost:3389 -pw passWord
    userName@remoteHost

    And it says that the port has been forwarded. It now appears though that I
    have a forwarded port from my local 3390 to port 3389 of the router.
    Obviously this will not work. I don't want to forward 3389 on the router to
    B as this will open the remote desktop up to connections directly from the
    web which I don't want.

    The remoteHost is a host name provided by dyndns if that makes any
    difference.

    How do I write the command to forward a port on my local machine to a
    machine behind a router. I was hoping to have only port 22 open to the
    outside world.

    --
    Chris Lewis
    

  • Next message: Darren Dunham: "Re: ssh X-forwarding not working aix"

    Relevant Pages

    • Re: connect to home from office
      ... > In my router setup for port forwarding, ... > I have not found a place to change the port Remote Desktop listens, ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: TCP 3389 and Remote Desktop
      ... conflict using a Linksys wireless router for a peer to peer network ... provided instructions for changing the remote port using RegEdit, ... firewall you utilize on said computer *and* have Remote Desktop turned on ... One method of accessing several machines behind a single router is to change ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: Remote Desktop Office to Home PC
      ... > permanent DSL Connection and a DynamicDNS Account) - IT WORKS from ... then why can I connect to my home-router through the same port ... > Essentially - you just said you have a home router (assuming cable ... > Remote Desktop port) by ways of a Remote Desktop Client. ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: remote desktop via router using XP
      ... firewall is configured to allow remote desktop which allows port 3389 to pass ... can't login intially to get to be able to enter the private ip of the router. ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: Remote DesktopQuestions
      ... I enabled 3389 on the router using the IP of the host XP machine. ... on the router allow port forwarding through a certain port? ... Remote Desktop Web Connection. ... Also how secure is the Remote Desktop Web Connection (compared to a VPN ...
      (microsoft.public.windowsxp.work_remotely)