Koozali.org: home of the SME Server

Remote desktop (WinXP) true E-smith

Knor

Remote desktop (WinXP) true E-smith
« on: January 13, 2002, 11:32:15 PM »
I want to connect to my Win XP workstation with the "remote desktop" function.
Problem is the E-smith server is in between and it does not work.

Win XP --->(internet)---> E-smith ---> Win XP workstation

On my local network everything works fine.

    _________________Ethernet_____________
   |                        |                      |                 |
   |                        |     <-------->     |                 |
   Esmith             Win XP           Win XP        Win XP

I'm not sure if it's works the same as with VPN.

Anything would help I'm stuck.

Thx

Luke Drumm

Re: Remote desktop (WinXP) true E-smith
« Reply #1 on: January 14, 2002, 12:35:17 AM »
I'm not sure if this helps but I've used it successfully the 'other' way. (i.e. where I've 'remote assisted' someone).

I suspect the Network Address Translation (where the internal IP address is different to the external IP address) might be a possible cause.

Microsoft recently released a patch dealing with related issues so you may want to pay a vist to the Microsoft Update pages.

Regards,
Luke

John Lewis

Re: Remote desktop (WinXP) true E-smith
« Reply #2 on: January 14, 2002, 10:18:18 PM »
First you must connect via PPTP to your network, then you can access any machine on the inside of your network.

XP>Control Panel>Network and Internet Connections
Click "Create a connection to the network at your workplace"
Click VPN connection, enter in your external IP etc.

Once you have connected via VPN, you should have full access to your internal machines, and should be able to control your internal PC.

Andrew Hunt

Re: Remote desktop (WinXP) true E-smith
« Reply #3 on: January 17, 2002, 09:18:07 PM »
Here's what I do ...

I have a little script called allow_remote on my E-smith box. I log in remotely as root using ssh and run it when I want to connect to my home PC from my work PC. The script essentially opens a hole in the firewall for Remote Desktop.

# allow_remote
ipmasqadm portfw -a -P tcp -L 3389 -R 192.168.0.3 3389
ipmasqadm portfw -a -P udp -L 3389 -R 192.168.0.3 3389

is IP addess of my home Internet link
192.168.0.3 is the IP address of my home XP system that I want to control

I can then launch a remote desktop connection to and get my home XP system..

I have another little script called deny_remote which I run when I'm finished.

# deny_remote
ipmasqadm portfw -d -P tcp -L 3389 -R 192.168.0.3 3389
ipmasqadm portfw -d -P udp -L 3389 -R 192.168.0.3 3389

Probably not the best way to do it but it works for me.

...Andrew