Solved

Connecting to a pc behind a router with firewall

Posted on 2008-10-17
11
426 Views
Last Modified: 2012-05-05
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?
0
Comment
Question by:swrightsr
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 2

Expert Comment

by:XeroX1988
ID: 22742900
PCAnywhere uses UDP aswell, that might be your problem that it's only configured for TCP.

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>Host Communications tab. Ensure that there are no addresses entered in the "Limit connections to the following names or IP addresses" field. If there are, either delete them or add the address or name of the remote computer you are trying to connect with.

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.
0
 
LVL 8

Expert Comment

by:DenverRick
ID: 22742914
Why did you change ports?

You need to have 5631 AND 5632 open for pcAnywhere.
0
 

Author Comment

by:swrightsr
ID: 22742972
thnx Xerox1988 for the reply.  I have also tried the both option for Protocol type.  How do I get to Telnet?
0
 
LVL 8

Assisted Solution

by:DenverRick
DenverRick earned 100 total points
ID: 22742987
just go to a command prompt and type

telnet x.x.x.x 9999  (port number)
0
 

Author Comment

by:swrightsr
ID: 22742995
This was already setup by the previous person because there is more than one PC that we connect to.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:swrightsr
ID: 22743044
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."
0
 
LVL 2

Expert Comment

by:XeroX1988
ID: 22743078
You can also use a program called Putty to telnet, heres the download page:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
0
 
LVL 2

Accepted Solution

by:
XeroX1988 earned 380 total points
ID: 22743096
It might also have to do with the fact that you are using the same port for public / private, as the default ports are 2 different ones, if it's not that hard to configure and you have a spare port, could you try to use 2 ports instead of 1 for both?
0
 

Author Comment

by:swrightsr
ID: 22743291
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?
0
 

Assisted Solution

by:kingramco
kingramco earned 20 total points
ID: 22743951
What is the router/firewall device?
0
 

Author Comment

by:swrightsr
ID: 22745103
Dlink DI-624. Thank you to everyone but i figured out my problem.  I did not set my quick connection ports(under Remotes-->Properties-->Details) to go to the ports that had been forwarded.  I appreciate everyones help.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now