Windows XP Remote Desktop
Author
Discussion

Alex

Original Poster:

9,978 posts

310 months

Tuesday 20th April 2004
quotequote all
I want to use Remote Desktop (or VNC) to access my home PC from my work PC. My work PC is inside a firewall that blocks all ports except 80.

Can I use SSH to tunnel port 3389 via port 80? If so how?

Podie

46,649 posts

301 months

Tuesday 20th April 2004
quotequote all


Open System in Control Panel.
Click the Remote tab.

In the Remote Desktop area, click Select Remote Users....

On the Remote Desktop Users dialog box, click Add....

On the Select Users dialog box, click Locations... to specify the search location.

Click Object Types... to specify the types of objects you want to search for.

In the Enter the object names to select (examples): box, type the names of the objects you want to search for.

Click Check Names.

When the name is located, click OK. The name now appears in the list of users on the Remote Desktop Users dialog box.

Alex

Original Poster:

9,978 posts

310 months

Tuesday 20th April 2004
quotequote all
Hi Podie, I've done all that (works fine between PCs on my home LAN). The problem is getting through the firewall. RDP uses port 3389 (although this can be changed). My work network blocks all ports except port 80. Using Web Remote Desktop does not help because the ActiveX control it uses still requires access to port 3389.

barry sheene

1,524 posts

309 months

Tuesday 20th April 2004
quotequote all
I know we've said this already elsewhere , but for the benefit of other that may be interested I have to recommend www.gotomypc.com

It works like a charm using encrypted http , but it does cost money.

(says he, surfing on his home laptop from work

If you can get VNC working then I'd like to know how. I find it's fine for intraLAN application but not for WAN due to the inflexibility of the company firewall

>> Edited by barry sheene on Tuesday 20th April 15:35

jodypress

2,089 posts

300 months

Tuesday 20th April 2004
quotequote all
this is something i also want to do, but at home i have a wireless router, which has the dhcp server running. therefore, i have ip 169.254.0.x which are just internal ip addresses within my home network. how do i connect to the ip i have from my isp, which the router uses and then onto my pc which has real vnc running?
any ideas?

Alex

Original Poster:

9,978 posts

310 months

Friday 23rd April 2004
quotequote all
I've still not managed to solve this problem.

Does ANYONE know how I can remote control my home PC from a corporate firewalled PC?

pmanson

13,388 posts

279 months

Friday 23rd April 2004
quotequote all
I would suspect you need to use VPN. Blokes from work control their work machines from home. They dial into the corporate network using VPN then use Remote access to take the machine over.

Alex

Original Poster:

9,978 posts

310 months

Friday 23rd April 2004
quotequote all
pmanson said:
I would suspect you need to use VPN. Blokes from work control their work machines from home. They dial into the corporate network using VPN then use Remote access to take the machine over.


Ah, but I want to control my HOME machine from WORK.

I have a VPN running on my home network, but the work firewall will not let me through (VPN needs access to open ports, 1723 and 17?? by default).

Alex

Original Poster:

9,978 posts

310 months

Friday 23rd April 2004
quotequote all
jodypress said:
this is something i also want to do, but at home i have a wireless router, which has the dhcp server running. therefore, i have ip 169.254.0.x which are just internal ip addresses within my home network. how do i connect to the ip i have from my isp, which the router uses and then onto my pc which has real vnc running?
any ideas?


Let's assume VNC is listening on port 5800. Get your router to forward port 5800 to your internal PC.

From the remote PC, surf to http://xxx.xxx.xxx.xxx:5800 where xxx.xxx.xxx.xxx is the IP of your router.

This works for me, but not from inside the corp firewall.

pmanson

13,388 posts

279 months

Friday 23rd April 2004
quotequote all
Alex said:

pmanson said:
I would suspect you need to use VPN. Blokes from work control their work machines from home. They dial into the corporate network using VPN then use Remote access to take the machine over.



Ah, but I want to control my HOME machine from WORK.

I have a VPN running on my home network, but the work firewall will not let me through (VPN needs access to open ports, 1723 and 17?? by default).


Surely it must be along the same lines (Just the other way round)??

Will you IT people not reconfigure it for you so that it allows you access? Or do they have a specific reason for closing those ports?

jodypress

2,089 posts

300 months

Friday 23rd April 2004
quotequote all
Alex said:

jodypress said:
this is something i also want to do, but at home i have a wireless router, which has the dhcp server running. therefore, i have ip 169.254.0.x which are just internal ip addresses within my home network. how do i connect to the ip i have from my isp, which the router uses and then onto my pc which has real vnc running?
any ideas?



Let's assume VNC is listening on port 5800. Get your router to forward port 5800 to your internal PC.

From the remote PC, surf to http://xxx.xxx.xxx.xxx:5800 where xxx.xxx.xxx.xxx is the IP of your router.

This works for me, but not from inside the corp firewall.

hi alex, i have a buffalo wbr-g54 router and use zonealaram as a firewall (free version) i cannot seem to find any port forwarding in the advanced router setup. any ideas?
jody

marlboro

637 posts

297 months

Friday 23rd April 2004
quotequote all
jodypress...

The buffalo wbr-g54 only supports port forwarding when using fixed IP addressing. This is quite normal.
Specify the client an IP address which is outside the DHCP range (assigned IP address). Once you have fixed addresses you can use the NAT table to translate TCP/UDP ports.

jodypress

2,089 posts

300 months

Friday 23rd April 2004
quotequote all
marlboro said:
jodypress...

The buffalo wbr-g54 only supports port forwarding when using fixed IP addressing. This is quite normal.
Specify the client an IP address which is outside the DHCP range (assigned IP address). Once you have fixed addresses you can use the NAT table to translate TCP/UDP ports.


i have tried this, (admitedly with dhcp, but the pc i want to access, is always on and when i do restart it only uses one of three ip's, so i put them all on the nat table.) when i type in the http://xxx.xxx.x.x:5800 nothing happens when i am outside of network. i tried from the laptop and it worked. could this be do to with the mac address security i use on the router to restrict internet access?
thanks
jody

marlboro

637 posts

297 months

Friday 23rd April 2004
quotequote all
jody,

Port forwarding or NAT (network address translation) will only work with fixed IP addressing.

Think about it, if a router enabled port forwarding on all of the DHCP address's it would be open to abuse.



chrisjl

787 posts

308 months

Saturday 24th April 2004
quotequote all
OK, we've established that you can only make connections to port 80. Here's a few suggestions, the suitability of which depends on some factors I don't yet know:-

1. Configure YOUR firewall to forward all incoming connections to port 80 to port 5800 on your home desktop. (firewall may not support this port number change)

2. Compile a custom VNC that listens on port 80, and again setup the firewall to forward port 80 traffic to the appropriate desktop machine.

3. Set up an SSH daemon that listens on port 80, then setup up a 5800->5800 tunnel over it. (Meaning that you connect to localhost:5800 when you want to view pc_at_home:5800)

The flexibility (or not) of the configuration of your home firewall is a big factor in which approach to take.

Having a service listening on port 80 all the time might attract the wrong sort of attention too.

VNC traffic is not encrypted, but at least your password doesn't travel in the clear. Tunnelling it over SSH would still be a good idea.

DHCP on vs. off - depends. My firewall by default always gives the same address out to the same PC, so the fact that you're not using static addresses might not matter.

squirrelz

1,186 posts

297 months

Saturday 24th April 2004
quotequote all
If you have the additional problem of having to go through a proxy server, you can use a tool called httptunnel to do the connection.

www.gnu.org/software/httptunnel/httptunnel.html

_DJ_

5,052 posts

280 months

Saturday 24th April 2004
quotequote all
I'm reluctant to post this, because I'm sure it's too simple to be correct. How about changing the port on which XP's remote desktop listens on to 80 then specify that port when connecting from the client? That's unless you've got an intelligent corporate firewall which detects the non-HTTP nature of the packets.


DJ

JamieBeeston

9,294 posts

291 months

Sunday 25th April 2004
quotequote all
_DJ_ said:
I'm reluctant to post this, because I'm sure it's too simple to be correct. How about changing the port on which XP's remote desktop listens on to 80 then specify that port when connecting from the client? That's unless you've got an intelligent corporate firewall which detects the non-HTTP nature of the packets.


DJ


For XP Remote Desktop Port Change
http://support.microsoft.com/default.aspx?scid=kb;en-us;306759

For TS Port Change
http://support.microsoft.com/default.aspx?scid=KB;en-us;q187623


To Then specify how to connect to a different remote port.
http://support.microsoft.com/default.aspx?scid=kb;en-us;304304

_DJ_

5,052 posts

280 months

Sunday 25th April 2004
quotequote all
JamieBeeston said:

_DJ_ said:
I'm reluctant to post this, because I'm sure it's too simple to be correct. How about changing the port on which XP's remote desktop listens on to 80 then specify that port when connecting from the client? That's unless you've got an intelligent corporate firewall which detects the non-HTTP nature of the packets.


DJ



For XP Remote Desktop Port Change
http://support.microsoft.com/default.aspx?scid=kb;en-us;306759

For TS Port Change
<a href="http://support.microsoft.com/default.aspx?scid=KB;en-us;q187623">http://support.microsoft.com/default.aspx?scid=KB;en-us;q187623</a>


To Then specify how to connect to a different remote port.
http://support.microsoft.com/default.aspx?scid=kb;en-us;304304


Thanks Jamie - I was going to post the same thing, but thought I'd wait to see whether the idea was shot down in flames, given the complexity of the answered presented earlier on the thread!

JamieBeeston

9,294 posts

291 months

Sunday 25th April 2004
quotequote all
_DJ_ said:

Thanks Jamie - I was going to post the same thing, but thought I'd wait to see whether the idea was shot down in flames, given the complexity of the answered presented earlier on the thread!



You know what Us techs are like.

we NEED to massively overcomplicate everything