Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .