charlesAMAG
asked on
Can remote to computer within network but not from outside
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or use port triggering
http://www.online-tech-tips.com/windows-xp/how-to-setup-remote-desktop-on-windows-xp/
http://www.online-tech-tips.com/windows-xp/how-to-setup-remote-desktop-on-windows-xp/
ASKER
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.
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.
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.
telnet 204.163.254.198 3390
If this fails, check the firewall rules on both the PC and the router/firewall.
ASKER
Yes it does have a static ip and the port is open.
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.
ASKER
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!!
Thanks!!
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.