Login with RDP, without bumping current session.

Page 6 of 7 FirstFirst ... 4567 LastLast

  1. Posts : 28,845
    Win 8 Release candidate 8400
       #51

    Vgolfmaster said:
    Hi all,

    I'm not looking for simultaneous access to a machine, and please nudge me in the right direction if this is the wrong thread for this - I need to set up 2 windows 7 machines for remote access from outside of the network.

    I am able to get access to either machine using the default port of 3389 (and only activating RDC on one machine at a time). If I change the listening port, I lose access for some reason. I have only tried 2 ports so far, 5150 and 5151, so there may be a potential conflict, not sure yet (this was done using the registry mod for the listening port). I only say that as a FAQ I ran across for RDC setup in Win 7 suggested trying ports over 64000. I am going to test this tomorrow, but wanted to ask here if anyone had any other ideas.

    What I am looking for, is a way to connect from school, to either of my 2 Win 7 machines. I am using a Linksys WRT54G router, but not using wireless. Like I said, assigning the port forwarding to port 3389 works on each machine individually. I am assuming I have to have each machine set to listen to a unique port in order to do this, but how do I do that if only 3389 works?

    if mapped according to the assigned listening ports, I should be able to pick which to connect to, right? ie:

    174.105.222.188:63000 for machine 1
    174.105.222.188:63500 for machine 2

    Hopefully the test tomorrow of a higher port range will answer this, but I'll happily take any other advice that anyone might have.

    tia

    Vg

    VG

    There is a much easier way. Team viewer. I do the exact thing you are looking for from any location and it is free
      My Computer


  2. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #52

    zigzag3143 said:
    Vgolfmaster said:
    Hi all,

    I'm not looking for simultaneous access to a machine, and please nudge me in the right direction if this is the wrong thread for this - I need to set up 2 windows 7 machines for remote access from outside of the network.

    I am able to get access to either machine using the default port of 3389 (and only activating RDC on one machine at a time). If I change the listening port, I lose access for some reason. I have only tried 2 ports so far, 5150 and 5151, so there may be a potential conflict, not sure yet (this was done using the registry mod for the listening port). I only say that as a FAQ I ran across for RDC setup in Win 7 suggested trying ports over 64000. I am going to test this tomorrow, but wanted to ask here if anyone had any other ideas.

    What I am looking for, is a way to connect from school, to either of my 2 Win 7 machines. I am using a Linksys WRT54G router, but not using wireless. Like I said, assigning the port forwarding to port 3389 works on each machine individually. I am assuming I have to have each machine set to listen to a unique port in order to do this, but how do I do that if only 3389 works?

    if mapped according to the assigned listening ports, I should be able to pick which to connect to, right? ie:

    174.105.222.188:63000 for machine 1
    174.105.222.188:63500 for machine 2

    Hopefully the test tomorrow of a higher port range will answer this, but I'll happily take any other advice that anyone might have.

    tia

    Vg

    VG

    There is a much easier way. Team viewer. I do the exact thing you are looking for from any location and it is free
    +1

    I have used TeamViewer and it works very well. Guess that is why I have not done the RDP port thing in a long while. :)
      My Computer


  3. Posts : 5
    Windows 7 Professional 64-bit
       #53

    Hi WindowStar,

    I did change the listening port assignment via the registry, and assigned then assigned that newly changed port number in the router, but I was unable to find a firewall setting for this (am using Windows Firewall only). Any ideas where to find this? If this is all I need that would be an easy fix, assuming I can find it, lol.

    If you can point me in the right direction for the Windows firewall settings for this, I'd appreciate it.

    Vg

    *edit - thanks for the tips on Team Viewer guys, I will look in to it. I'd still like to get the RDC issue hammered out, if for no other than, 'just because' .....

    *edit again....... - I found the Windows firewall settings for remote desktop, but don't have access to the options in there for changing the port assignments. I am logged in as a user with admin rights. Is this for actual admin account only? I also changed the registry key for the listening port, and then re-checked the firewall settings. It still showed 3389.... sigh
    Last edited by Vgolfmaster; 09 Sep 2010 at 00:53. Reason: additional posts made while I typed, lol
      My Computer


  4. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #54

    In Advanced Firewall Settings:
    Attached Thumbnails Attached Thumbnails Login with RDP, without bumping current session.-rdpfirewallpicture.jpg  
      My Computer


  5. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #55

    Hi there

    The problem in connecting to more than ONE machine behind your router is the PORT FORWARDING mechanism in the router since the router will only port forward to a SPECIFIC LAN IP ADDRESS.

    What you will have to do is perhaps find a way of making RDP on the 2ND machine use a DIFFERENT port for RDP and then port forward THAT port to the 2nd machine on your Lan.

    Now on your Front end computer I'm not sure how you would arrange that -- you'd perhaps need to set up some script file which would dynamically change the RDP port depending on what machine you want to access.

    This is why RDP gets messy for dealing with more than one computer.

    You could see if using "Putty" is a possible solution to this as you could easily have several configurations

    http://www.itauthor.com/2008/05/24/r...-putty-tunnel/

    You will still need to port forward DIFFERENT ports to each computer however.

    You *might* be better off setting up a HOME VPN / SERVER which would then allow you to access any machine on your network.

    I assume that REACHING your home network is OK -- there are services like no_ip etc for providing you with an IP / domain name from the Internet.

    Cheers
    jimbo
      My Computer


  6. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #56
      My Computer


  7. Posts : 5
    Windows 7 Professional 64-bit
       #57

    Thanks again guys,

    I think I found the trick...... (my test of a higher port number didn't work, but I think I now know why)

    Port 3389 is enabled in windows firewall by default, when you turn RDC on. You can not modify this firewall rule to change the port number, which is why I was locked out. Also why I was unable to use other ports for RDC, the firewall was blocking them.

    Found this page, which describes adding port numbers/rules to the Win7 firewall, and I was able to successfully add a rules to enable TCP and UDP connections using 2 custom ports.

    How to Open a Port in the Windows 7 Firewall - For Dummies

    Now I am going to go back and re-apply the registry mod to assign the same ports as the 'listening' ports for each machine, and with any joy, I can remote in to them using my external IP and the newly assigned port# (ie 192.168.124.100:63631 for comp 1 and 192.168.124.100:63632 for comp 2).

    Will let you know as soon as I can test this, and report back.

    Thanks again for all the suggestions, I WILL check out all of these other options and compare ease of use, etc. when time allows.

    Vg
    Last edited by Vgolfmaster; 09 Sep 2010 at 12:34. Reason: spell check...
      My Computer


  8. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #58

    Hi there

    Using custom ports should work -- I like the Putty solution too.
    Port Forwarding at the router end is a bit limiting because a specific port can only be forwarded to a specific machine - but it's logical in away since you usually want to access a specific machine.

    Cheers
    jimbo
      My Computer


  9. Posts : 5
    Windows 7 Professional 64-bit
       #59

    Success !!

    Thanks for all of the tips and suggestions guys, I really appreciate the feedback you have all given me. I was able to get this working by adding the custom port assignments in windows firewall, and can now access both machines (from outside of the network) by way of a unique port assignment for each.

    If I remember right, windows XP recognized assigned ports and allowed them automatically. Or maybe even worse, it never prevented their use to begin with - just simply don't remember. What I DO know, is that 3389 is enabled in Win7 when you turn on remote access, but other ports are not. This requires that Windows firewall be set for with exceptions for any ports other than 3389. Port 3389 is also the default 'listening' port in 3389, and the registry modification must also be made to reassign each machine to 'listen' to the newly assigned port for RDC.

    Hope this helps anyone else who is trying this down the road!

    Thanks again everyone.

    Vg
      My Computer


  10. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #60

    I am glad you got it all working.
      My Computer


 
Page 6 of 7 FirstFirst ... 4567 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:00.
Find Us