As it it sates in title.
Every router I had couldn't connect back to itself over Internet, for example:
- I open forward port 22 for ssh on my PC.
- I try to connect to that ssh with other PC in same network, with
ssh user@my.public.ip
but I get refused by router - I can connect from other network (other public IP) just fine, with same
ssh user@my.public.ip
Is that just my bad luck with routers or there is something behind it?
Thanks
Answer
You'll need a router that supports loop back functionality.
Many DSL routers/modems prevent loopback connections as a security feature. This means that a machine on your local network (e.g. behind your DSL router/modem) cannot connect to a forward facing IP address (such as 199.149.252.44) of a machine that it also on your local network. Connecting to the local IP address (such as 192.168.2.40) of that same machine works fine.
Source: http://opensimulator.org/wiki/NAT_Loopback_Routers
This thread over at sec discusses security implications (or lack thereof): https://security.stackexchange.com/questions/16343/is-nat-loopback-on-my-router-a-security-problem
No comments:
Post a Comment