I am running a Debian Squeeze linux server on my Dlink DNS-320 NAS. I signed up for a DNS service, so I could access it from anywhere. I installed
lighttpd, and created a very simple page to test. To finish the setup, I forwarded the ports on my router.
Everything worked exectly as expected, and I could access the dlink page. But when I tested it from outside of my local network, it didn't work. The request timed out.
I think the problem is in my
hosts file, but I'm not sure. Here it is:
127.0.0.1 localhost.localdomain localhost IpInMyNetwork MyNas MyNas
Where IpInMyNetwork is the actual IP of the NAS in my local network. What could I be doing wrong ? If there is any other necessary I am not providing, please let me know. I am relatively new to this area.
Any help is very appreciated, thank you
Hi, I double-checked, and my NAS doesn't have a firewall. Neither does my modem. My router does, but I set the NAS on DMZ so it shoudn't be a problem any more. I've tried changing the configuration to remotely access the router instead of the NAS, but I'm getting the error
gateway time out
I was able to remotely access my router using port
8080 . There was clearly a problem with my previous choice of port (i was trying to use port
80). I will try to setup the NAS again and provide some feedback
It turns out my ISP blocks port 80, it is the contract I signed. But I had no clue they did it. The solution was using other ports for SSH, FTP, HTTP...