logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Cannot access webserver from outside my lan.
Author
davidmanvell



Joined: 09 Jun 2009
Posts: 6

PostPosted: Tue 09 Jun '09 18:07    Post subject: Cannot access webserver from outside my lan. Reply with quote

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

PostPosted: Tue 09 Jun '09 19:56    Post subject: Reply with quote

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

PostPosted: Tue 09 Jun '09 22:22    Post subject: Reply with quote

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

PostPosted: Wed 10 Jun '09 3:43    Post subject: Reply with quote

duh me .. missed the screen cap

Linksys .. in Advanced -> Filters
Block WAN Request: = Disabled
Back to top
davidmanvell



Joined: 09 Jun 2009
Posts: 6

PostPosted: Wed 10 Jun '09 4:32    Post subject: Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 10 Jun '09 10:06    Post subject: Reply with quote

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


Reply to topic   Topic: Cannot access webserver from outside my lan. View previous topic :: View next topic
Post new topic   Forum Index -> Apache