Click to See Complete Forum and Search --> : Linksys Router
edh007
08-24-2002, 07:55 PM
First of all, I have a network with a Linksys 4 port 10/100 Cable/DSL router, 2 win XP machines, and a Linux/Apache machine. My problem is I cannot get the Apache server to accept outside the router. It is set at 192.168.1.3. My win XP boxes are .100 and .101. I can see the test page from the XP machines on the LAN but not outside the LAN. Do I need a routing table, and if so, how do I configure it?
froggy3132000
08-24-2002, 10:39 PM
you should have an option from your router that reads "Virtual Sever" or something like that. you can add the ip address of the linux box and add the http port 80 so that traffic can from the outside to your LAN.
log into your router and look for an option that reads something like that.
nomo_green
08-25-2002, 01:36 AM
forward all port 80 requests to your webserver 192.168.1.whatever. and you must also disable "block all wan requests" from the main page. if it still won't accept incoming requests make sure firewall is lettting in port 80 on the webserver itself. also, double check your httpd.conf file! if all else fails try placing it in the dmz zone. add webserver to dmz zone.
you could also try plugging the webserver directly to internet, to verify it can accept incoming connections and that in fact it is the router, that may save some time if it's somethinglike your webserver firewall or httpd.conf file.
good luck :)
one other thing to add: some isp's/modems will block incoming httpd requests. something else to think about.........:confused:
edh007
08-25-2002, 09:40 AM
Would I have to call them to find out or is there another way to find out? If they block all http requests, do they only block them on port 80 or all ports. Just wondering if I could change ports to get around it?
davathar
08-26-2002, 04:21 PM
I have the same router setup as you describe. I let DHCP choose my IP addresses on the LAN, and then went to the Advanced/Forwarding section of the Router Configuration.
In there set up a forward for ports 80 - 80 and set the IP to that given to the server. You can also do this for FTP and SSH and any other ports you want.