Author |
|
davidmanvell
Joined: 09 Jun 2009 Posts: 6
|
Posted: Tue 09 Jun '09 18:07 Post subject: Cannot access webserver from outside my lan. |
|
|
I have installed WAMPSERVER 2.0 on my windows vista x64 system but still am having issues with getting the webserver to be seen outside my local network. It is working fine within my local network.
Been through the tutorial on this site, no dice still.
For testing purposes I have disabled my firewalls on my windows OS and on my router completely. They are turned off.
I have changed my httpd.conf file to the following (Allow from all):
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
I have set up port range forwarding to the IP address of the computer on my lan that has the Apache server on it.
http://i693.photobucket.com/albums/vv293/davidmanvell/Portrangeforwarding.jpg
I also turned on the WAMPSERVER and made sure all services are running.
What am I missing? I can access the webserver from the computer the webserver is on but not from outside the lan |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 09 Jun '09 19:56 Post subject: |
|
|
what's the ServerName and Listen directives set for?
Nevermind .. I see it in last post.
change ServerName localhost:80 to something other than localhost. Caveat, it has to be something Apache can bind to, with a real domain name or you can just set it to the LAN IP of the box as well. |
|
Back to top |
|
davidmanvell
Joined: 09 Jun 2009 Posts: 6
|
Posted: Tue 09 Jun '09 22:22 Post subject: |
|
|
I set it to:
ServerName DavesComputersevername:80
The only change I see is sort of hard to describe.
Before I made this change I could go to http://mywanipaddress from the computer the Apache server was on and it would see it. However if I tried accessing it from a computer on my lan using the same http://mywanipaddress it would not. Now it will.
So before:
http://mylanipaddress - No problems from any computer on the lan.
http://mywanipaddress - only the lan computer Apache was installed on would this work for.
Now:
http://mylanipaddress - No problems from any computer on the lan.
http://mywanipaddress - No problems from any computer on the lan but when any computer wan side tries to access this they still get a the server is busy or down message. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 10 Jun '09 3:43 Post subject: |
|
|
duh me .. missed the screen cap
Linksys .. in Advanced -> Filters
Block WAN Request: = Disabled |
|
Back to top |
|
davidmanvell
Joined: 09 Jun 2009 Posts: 6
|
Posted: Wed 10 Jun '09 4:32 Post subject: |
|
|
I'm not able to find any Block WAN Request anywhere on the Linksys. The attached .jpg shows the only filters I can find. There is no advanced screen on this router.
http://i693.photobucket.com/albums/vv293/davidmanvell/Security.jpg
I did try turning off the "Filter Anonymous Internet Requests" but that did not do anything. That makes my IP address not pingable and also hides the ports from port scans.
I have NAT turned on on this router. Could that be blocking this somehow? I cannot turn it off however. Seems when i do I lose connection to my ISP when I do. They must be locked onto the router with the NAT turned on some how.
This is a WRT350N Linksys router. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 10 Jun '09 10:06 Post subject: |
|
|
I found on the linksyspage a newer firmware for that router (2.0). Maybe you can use that feature with that firmware.
I'm a bit confused cause in the firmware for US is still 1.0
The 2.0 was only for germans
http://www.linksysbycisco.com/DE/de/support/WRT350N/download |
|
Back to top |
|