Communications and Wireless
1820495 Members
2366 Online
109625 Solutions
New Discussion юеВ

Can we access a machine which has private ip which is connected to Router

 
Thiyagu_2
Frequent Advisor

Can we access a machine which has private ip which is connected to Router

I have 5 machines under a Linksys wireless Broadband Router.All the 5 machines are running under private ip. Can I connect one of the 5 machines from another machine(which is not under the router) through PCAnywhere.

Thanks in Advance.
5 REPLIES 5
Ron Kinner
Honored Contributor

Re: Can we access a machine which has private ip which is connected to Router

Yes but you have to make a few changes to your router. The target PC must use a static address and you need to know the port that PCAnywhere uses. Then you turn on Port Forwarding for the ports that PCAnywhere uses and assign those port numbers to the static IP you assigned to the PC. I think PCAnywhere uses port 5631 and 5632 as a default. It is set in the registry at:

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\CurrentVersion\System

TCPIPDataPort 5631
TCPIPStatusPort 5632

Then you will need to know the IP address of the router on the internet.

You can get that by going to

http://www.inter-corporate.com/ip/

from one of the machines under the router. Point the remote PC at that address and it should connect.

Ron
Thiyagu_2
Frequent Advisor

Re: Can we access a machine which has private ip which is connected to Router

Hi!

Thanks for the reply. It's working fine.
But I could connect only one machine at a time.
I have now connected two machines
192.168.1.100 and 192.168.1.101

When I try to connect the machine with the ip(static) , i could connect only to the 192.168.1.100 and when I create another pcanywhere remote to connect 192,168,1,101, it fails.

What could be the problem.

I have attached the setting which i made in the router. Please have a look on that.

Thanks in advance.
Ron Kinner
Honored Contributor

Re: Can we access a machine which has private ip which is connected to Router

You only have one external IP address so if you tell it to open port x on machine A it can't open port x on machine B at the same time. There is no way to tell them apart.

The easiest thing to do it to let one machine be a host and set up the router to allow you to get there. Then PCAnywhere to it and since you are now on the inside, run a PCAnywhere remote session and go to any other host.

The alternative is to set up different port numbers for each machine but then you would need separate PCAnywhere installs for each one.

Ron
Thiyagu_2
Frequent Advisor

Re: Can we access a machine which has private ip which is connected to Router

Thanks for the reply!

How to set different port number for each machine to connect the second machine through pcanywhere(when first machine is accessed thru pacnywhere).

Thanks in advance.
Ron Kinner
Honored Contributor

Re: Can we access a machine which has private ip which is connected to Router

Start Run regedit

then navigate down to:

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\CurrentVersion\System

and look for TCPIPDataPort and TCPIPStatusPort. They should be set by default to: 5631 and 5632

You can change them to something else but you will have to do the same thing on the remote control end or they won't be able to talk. (There is no option in the Remote Control items properties to set this differently for each host. At least not in my admitedly outdated 9.0 install) That's why I said it's best to use one PC to get through the firewall then start another PCAnywhere session on it and use it to log into the others.

Ron