Banana
2009-11-28, 12:38
So I have a situation where I decided the answer would be to run a temporary web server to share contents with a group of people. I went about on setting up the Web server but in proceed, got confused and quite nervous that it was totally insecure.
So, I'm hoping for some clarity on what I'm supposed to expect.
My network setup: A stupid DSL modem/router with its useless firewall off. My iMac with a static IP assigned and firewall on.
Questions:
1) When typing in my external IP, I'm taken to my modem homepage! That quite freaked me out, but if I run it through a proxy server, it goes to the intended page... Is that expected? I'd hate to have my modem's ass flapping out in the wind, even though I've checked to be sure that "remote management" is disabled and I don't use default admin/password. Is it safe to assume it's just a result of IP resolved by the modem to itself as it originated in LAN, rather than modem streaking on the internet?
2) I get inconsistent results. If I use internal IP, everything works as expected. With external IP (via proxy server), I can get to the same page but the movie (actually a flash object... please forgive my mortal sin here :o...) doesn't load... I've already verified that all files in the /Library/WebServer/Documents has the Read-Only permissions for everyone. I think I missed a step here...
3) I had started out fully expecting that port forwarding would be necessary. However, through an accident, I found it wasn't even necessary at all. Even though the modem's firewall is off, NAT is on, so naturally, I'd have expected it to get lost without the appropriate port forwarding... Is the cake a lie?
4) Is it possible to setup a simple authentication required to visit the website?
So, I'm hoping for some clarity on what I'm supposed to expect.
My network setup: A stupid DSL modem/router with its useless firewall off. My iMac with a static IP assigned and firewall on.
Questions:
1) When typing in my external IP, I'm taken to my modem homepage! That quite freaked me out, but if I run it through a proxy server, it goes to the intended page... Is that expected? I'd hate to have my modem's ass flapping out in the wind, even though I've checked to be sure that "remote management" is disabled and I don't use default admin/password. Is it safe to assume it's just a result of IP resolved by the modem to itself as it originated in LAN, rather than modem streaking on the internet?
2) I get inconsistent results. If I use internal IP, everything works as expected. With external IP (via proxy server), I can get to the same page but the movie (actually a flash object... please forgive my mortal sin here :o...) doesn't load... I've already verified that all files in the /Library/WebServer/Documents has the Read-Only permissions for everyone. I think I missed a step here...
3) I had started out fully expecting that port forwarding would be necessary. However, through an accident, I found it wasn't even necessary at all. Even though the modem's firewall is off, NAT is on, so naturally, I'd have expected it to get lost without the appropriate port forwarding... Is the cake a lie?
4) Is it possible to setup a simple authentication required to visit the website?