Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So I forwarded port 22 on my 2701hg-b ADSL modem to one of my machines and set a hostname for the public IP. From the outside, I can SSH access using either public IP or host name without any problems. From inside the network, I can't use either public IP or host name to access my own network.

Any clues what this could be?

Thanks.

share|improve this question
add comment

2 Answers

Most ISPs or routers (I can't remember which) doesn't allow you to connect to itself from inside the network. You can't be on the local network, go to the ISP and have that pack return back to the original address.

If you want to SSH inside the local network you will need to use the IP address of the machine the port is forwarded to.

share|improve this answer
add comment

On some routers it is possible to set an internal hostname. This same issue can be resolved by editing the hosts file on your computer to set the hostname you want to the IP address of the router.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.