?
Solved

Can remote to computer within network but not from outside

Posted on 2010-11-16
8
Medium Priority
?
435 Views
Last Modified: 2012-06-27
I have two machines set up behind a router, and both are windows 7. I set up port forwarding on the router into the two machines and they both have consecutive assigned ip addresses. One computer I can connect to remotely just fine from outside the network, but the other one I can't.

I've been troubleshooting the problem by remoting into the machine that I can get to and then opening an RDP from that machine to the other one and it opens fine. So you can RDP from one machine within the network to the other but not from outside to that machine.

It's obviously listening on 3389, and I confirmed that with netstat. The outside port (I'm forwarding from external 3390 to internal 3389) is open and the router works fine. I changed the port forward so it was pointing to the other machine and it worked fine that way so presumably the router is forwarding fine.

I don't understand why I can make a 3389 connection to that machine from inside the network but not from the router.
0
Comment
Question by:charlesAMAG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 2000 total points
ID: 34149657
You can only use the one External IP address on one of the 3389 ports. You can't port forward the same external IP address to two different internal IP addresses on the same port.

Now you can change the default listening port on RDP for the second client the port forward another port number like 3391. You can then change the RDP configuration to connect to the port 3391
0
 
LVL 15

Expert Comment

by:JBond2010
ID: 34149867
What you need to do is change the RDP listening ports on the Windows 7 PCs. Give 1 PC say port 3390 and then the other say 3391. You can change the the listening ports numbers through the registry. Go to > start > run > and type regedit > scroll to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-TCP and modify in the right hand PortNumber and change this.

The next step is to create forwarding rules on your Router/Firewall for the new RDP port number and point them to the PCs exactly the same you did.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:charlesAMAG
ID: 34150470
Well, I've gone in and changed the ports so that now one machine has 3389 external and 3389 internal and the other machine has 3390 external and internal. I changed the listening port to 3390 on that machine.

Now when I enter the internal IP address and port 192.168.1.x:3390 it remotes over to it just fine, but from the external port :3390 it doesn't open again.
0
 
LVL 15

Expert Comment

by:JBond2010
ID: 34151067
Does the PC have a static ip address? The PC has to has to be using static ip address. You can set this up in DHCP with a reservation or on the PC it-self. Check the fire rules again, and also make sure the user account your using has access to the PC remotely. One way of testing to see if the port is open externally is to use telnet. Telnet the public ip address eg:

telnet 204.163.254.198 3390

If this fails, check the firewall rules on both the PC and the router/firewall.
0
 

Author Comment

by:charlesAMAG
ID: 34155940
Yes it does have a static ip and the port is open.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34155977
You need to make sure that the port forwarding is properly setup to port forward on the new port to the static internal IP address.

0
 

Author Comment

by:charlesAMAG
ID: 34157127
Awesome. I'm going to go back and completely redo the router setup with these tips in mind and see how that goes. I'll let everybody know later today how it went.

Thanks!!
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question