Web server behind firewall
I'm trying to set up a little home web server to be accessible to people outside of our lan, but I've run into a few troubles. The web server is set up and works correctly if I type in it's internal IP address (192.168.0.3), the problem occurs when I'm trying to connect to it from outside.
I have 3 computers here, 2 are set up for standard home use, web browsing etc, and the 3rd is the web server. They are networked together using a Netgear wired router, which is connected via ethernet to a DSL modem (which itself also acts as a mini router, but only has 1 port, so not good for 3 pcs).
The problem that I am seeing at the moment is when I type in my external IP address, I get greeted with my modems login screen, to which I can log in if I want. What I want it to do is to forward the http request on to my server on the internal network. I have tried forwarding port 80 straight to the server from the modem, but this has no effect. I have also tried forwarding port 80 on the modem through to the other router, and then forwarding that on to my server, but all I get is my modems login screen when I visit my external IP address. My web server unfortunately only has 1 ethernet port, otherwise I'd set it up as the router to simplify things.
I also don't want to lose my internet connection from the other computers. Does anyone know how I could get this all working correctly, or is there a better way of doing this?
Thanks in advance.
EDIT : I actually meant "web server behind router" as my thread title, but for some reason wrote firewall, sorry.