swrightsr
asked on
Connecting to a pc behind a router with firewall
I have been trying to connect to several PC's on the office network behind a router with a firewall. I have forwarded the ports to the computers but I am not able to connect. I can ping the router but cannot connect to the PCs. The forwarded ports look like this:
Name: ABC
Private IP: 123.456.78.90
Protocol Type: TCP
Private Port: 5620
Public Port: 5620
I put the router's ip address as the ip address to connect to in pcAnywhere's Quick connect and I have configured the Host communications tab to use; data port - 5620 and status port - 5620 but still cannot connect. What have I missed?
Name: ABC
Private IP: 123.456.78.90
Protocol Type: TCP
Private Port: 5620
Public Port: 5620
I put the router's ip address as the ip address to connect to in pcAnywhere's Quick connect and I have configured the Host communications tab to use; data port - 5620 and status port - 5620 but still cannot connect. What have I missed?
Why did you change ports?
You need to have 5631 AND 5632 open for pcAnywhere.
You need to have 5631 AND 5632 open for pcAnywhere.
ASKER
thnx Xerox1988 for the reply. I have also tried the both option for Protocol type. How do I get to Telnet?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This was already setup by the previous person because there is more than one PC that we connect to.
ASKER
when I type "telnet xx.xxx.xx.xxx 9999" at the command prompt I get this message: "'telnet' is not recognized as an internal or external command, operable program or batch file."
You can also use a program called Putty to telnet, heres the download page:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
have tried with two different public and private ports no luck. I tried Putty and I received a message "Network Error: software caused connection abort" Does this mean the port is not open?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dlink DI-624. Thank you to everyone but i figured out my problem. I did not set my quick connection ports(under Remotes-->Properties-->Det ails) to go to the ports that had been forwarded. I appreciate everyones help.
If you would like to check to see if the router's ports are open for using pcAnywhere to connect over the Internet to a host that is behind a router, you can use telnet command to do this. For example, type open xxx.xxx.xxx.xxx 5631, where the x's represent the IP address of the router.
If you see the message "Could not open connection" or you see a blank screen with a blinking cursor, then one of the following is true: 1) The ports are closed. 2) You are using the wrong router. 3) The host is not waiting for a connection. 4) You are connecting through a firewall that is blocking the pcAnywhere ports.
If you see the error "Connection to host lost," then the ports are open but the host is refusing the connection for some other reason. Check for entries in the TCP/IP options that limit connections to specific addresses. To do this, open pcAnywhere>Tools>Options>H
If you see the message "Please press Enter," then the port is open.
Hope this gets you some answers why it aint working at the moment.