Rdestop troubles

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Austin Godber
Date:  
Subject: Rdestop troubles
Sorry I can't offer advice on your specific setup. You don't have a linux box
near your Win2k machine that you can ssh to do you? If you had you could ssh to
that machine and tunnel the rdesktop connection through that ssh connection to
the win2k machine.

I do it like this (lets say I have three machines home1, workLinux, and workWin2k):

First I ssh into my Linux box at work and forward a localhost port to the rdp
port on workWin2k:

austin@home1> ssh -L 9999:workWin2k:3389 workLinux

Now on my home machine still, I start rdesktop but tell it to connect to the
localhost at port 9999 (I think rdesktop 1.20 or greater is needed to specify port)

austin@home1> rdesktop -u Administrator localhost:9999

You could even make a script of it:

#!/bin/sh
ssh -f -L 9999:workWin2k:3389 workLinux /bin/false
/usr/local/bin/rdesktop -u Administrator localhost:9999

Oh if anyone knows a better way to deal with putting ssh in the background for
the script let me know. This seems to work, but I recall there being another
way to do it.

Austin

Charlie Bullen wrote:
> Hello, I am trying to establish a terminal server session from my
> laptop, running Redhat 9.0 to a windows 2k server using rdesktop
> through a VPN.
>
> Steps taken so far
>
> 1. I installed the pptp client from http://pptpclient.sourceforge.net/.
> This works fine. I can establish a tunnel to the pptp server. The server
> is a linux box running sme server 5.6. It works great.
>
> 2. Pinged the pptp server using both its external and internal IP
> addresses. My local area network uses 192.168.2.xxx and the lan at the
> remote site uses 192.168.0.xxx .
>
> 3. Tried pinging other boxes on the 192.168.2.xxx remote network. This
> did not work.
>
> 4. Established a telnet session to the pptp server using it's internal
> ip address 192.168.0.1. (telnet set to only accept connections from
> within the lan. is this aceptable security?) From the pptp server I can
> then ping any box on its lan, but can not ping to any box on my lan
> through the tunnel.
>
> 5. installed rdesktop with no problem. When I try to conncect to the Win
> 2k terminal server having IP address 192.168.0.10, through the tunnel,
> it won;t connect, eventually timing out.
>
> From the fact that I can telnet into the pptp server using its local IP
> address and then ping boxes on its subnet, I conclude that the tunnel is
> connected. I can not figure out why rdesktop isn't connecting. I have
> used rdesktop before but never though a VPN .
>
> I hate to admit it, but the box that I am using locally for this dual
> boots and when I'm on the windows side, I can connect to the pptp server
> and establish a terminal server session that way.
>
> Any ideas would be appreciated.
>
> Charlie Bullen
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss