Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PC Anywhere vs Remote Desktop 1

Status
Not open for further replies.

efax03

Vendor
Apr 7, 2006
18
US
I need to access a clients network and each of their individual workstations by loggin in on their static IP address.

I have been using PCA but cna only program a single station via their Linksys WRT54G.

SOmeone posted that I shoud use Remote Desktop instead. I have never heard of RD before. I am using WIN2K is that part of WIN2K.

How can I get PCA to allow me to log on to different work stations?
 
Setup PCA to listen on different ports, and forward the port on the Linksys WRT54G to the correct client IP.
 
How do I do that. If I lgo in via their static IP it goes directly to the port I forward it to.

Can yo provide me with the set up instructions for multiple station port forwarding?
 
So if I understand how this works. I am using PCA via TCP/IP static address ( which I obtain from MyIPAddress.Com ) to "dial up" the remote station.

The Host station is using lets says Ports 5631 - 5632 at lets say PC station "A".

When I "dial up" using IP address 64.41.134.147 for example my Remote must also Connection Information Details must also match the port or Station that I am trying to logon to i.e. 5631 - 5632 ( Station-A ). Is this correct?

If this is correct then if I set up Station-B. I should set the host at that station to a different port range lets say 5641 - 5642 and match my remote TCP/IP ports to 5641 - 5642?

If this concept is correct then I must have something not properly set within my LinkSys WRT54G router or the host.

When I check the status of my Waiting Host it says: "TCP/IP Host Service ( Computer Name ) then 192.168.1.101 Waiting for connections"

I am confused. Can you help?
 
In the remotes area of the computer you will be using to access these computers you can create multiple remotes and name them what you want to name them (mine has almost 100 of the remote icons named for each of my customers) right click on a remote, go to its properties and follow the instructions on the pcanywhere link I gave you. Then on each of the host machines, go to the properties of the host that is running on that machine and again follow the instructions from the link. Then go into the router, and on the route table you will route the ports to the terminals IPs (5631,32-ComputerA, 5633,34-ComputerB, etc). These terminals will have to have static IPs for this to work, unless you have a router that lets you route by nameage.

Bo

Kentucky phone support-
"Mash the Kentrol key and hit scape."
 
Yes, thank you. I am getting the hang of this. For some reason I could not get the logic flow in my mind to understand this concept. I am usually pretty good at stuff like this but I have been given so much advice on how to configure this that I got frustrated and confused.

Your explanation is clear. Yes, I have a router with a static IP at this new site I am working on and I will go there tonight and set the Port Forwarding on the LinkSys WRT54G to your suggested values.

This is going to save me a ton of time and money. I have had to make a site visit every time there was a question. IF I can get this to work I can just go online with station user watching while I train them or correct a problem they are having with their work.

I will let you know. I love this web-site and thank you for you help!
 
Can you explain the logic behin the default number 5631 and 5632.

Can any 4 digits be used?

What is the max number of ports that can be assigned?
 
Certain ranges are reserved. Some for RDP, VNC, video games, etc.

Bo

Kentucky phone support-
"Mash the Kentrol key and hit scape."
 
Port numbers range from 0 to 65535. They are represented by two-byte word, and thus are represented as 00000000-00000000 through 11111111-11111111. Theoretically, you can use any of these ports as you see fit, however many of them are reserved for common purposes. For instance, port 80 is reserved for HTTP requests for web pages.

You can find an internationally recognized list of ports here, which is maintained and regularly updated by IANA:
If you read the first paragraph on that web page, it tells you a bit about the port ranges that follow.

If you scan down through the list, you will find ranges marked as "UNASSIGNED". These are the ones I choose to use when using port forwarding through my router for *ANY* software, whether it's for PCAW or otherwise - assuming the program allows its listening ports to be changed.

I use unassigned ports because if a hacker hits my router, and finds that some ports forward through to a live pc, he will not know what software is listening to those ports (because the program is not using its normal ports). Thus he will not be able to use known exploits against known software on a known port. This also holds true for most worms and viruses. They are written to hit a certain port, and if you change it, it foils them.

But for both of these cases, this assumes that a port scan is not used, and some kind of software-specific ping-like thing is not used to scan the ports to feel them out to see if Software XYZ is listening on a different port. If this happens and the software responds with a reply, the hacker or worm can continue doing whatever he/she/it chooses as normal.

I don't have any specific examples of this, it just seems logical to me. If anyone cares to shoot holes in my theory here, please do so, as I would like to learn if it's true or not, or somewhere in between.
 
Ok lets look at it this way. The router will open ports to allow you to access the computers from the internet correct.

So if computer 1 has an ip address of 192.168.1.2 and a remote desktop port of 3389 you woould open that port in the router then from outside the lan you will type youreipaddress:3389 and from inside the lan you will type 192.168.1.2:3389

Now if you have more than one computer you want to acccess you would set the additional computers with different ports such as computer 2 would be 192.168.1.3:3390 or oustide youreipaddress:3390 and so on and so on..

So then in youre router you would have the open ports to access the individual computers. Think of the port number as a individual house number and the ip address is the street number.

Now to get the port numbers changed on each of the windows xp machines you can do it 2 ways :

Copy this script that i found and save it as portchange.vbs then exeecute the script on all the computers that you want to change.

'Script used to change the Default Terminal Services Port

'On Error Resume Next

'open the file system object
Set oFSO = CreateObject("Scripting.FileSystemObject")
set WSHShell = wscript.createObject("wscript.shell")

Dim WshNet 'WshNetwork object
Dim TSPortChange 'Variable to hold the new TS port
Dim Continue
Dim Exiting

'Create reference to Windows Scripting Host Network Object
Set WshNet = wscript.CreateObject("Wscript.Network")

'Providing an Input box to Enter TS Port

TSPortChange = InputBox("What Port would you like your Terminal Server or Remote Desktop Machine on? (i.e. 4000)","TS Port Changer")

Continue = MsgBox ("Is port "& TSPortChange &" correct?", 4, "TS Port Changer")
If (Continue = 7) Then
Exiting = MsgBox ("Nothing has been done. Exiting...", 64, "TS Port Changer")
Else
WshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber", ""& TSPortChange &"" , "REG_DWORD"
Ending = MsgBox ("Port chanaged to "& TSPortChange &"", 64, "TS Port Changer")
End If

Using this script will allow you to set each windows machine with a different port number so you can access them from the outside as well as inside the lan.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top