I have a server and a laptop in my LAN. The LAN is connected to the internet via router. I forward port 22 to the server and have a dynamic DNS provider (namely "no-ip") alias my router's internet IP to the domain myserver.noip.org.
When I'm outside of my LAN I can ssh into my server from anywhere just fine and dady as expected by using:
ssh confus@myserver.no-ip.org
When I use the same command from inside my LAN, I get "no route to host" and the ssh connection fails. When I use the servers local IP address, like so
ssh confus@192.168.0.10 # <--- Same server!!!
it works.
How can I get the myserver.no-ip.org dynamic DNS to wrok locally?