Posted: Wed May 20, 2020 12:49 Post subject: Can't access Web Server from LAN Tower Server[SOLVED]
Hi
Sorry to blag but I can't access port 80 and Google is confusing "web server" with the dd-wrt "web interface" queries so I thought I'd try and write a reasonably informed post with hope of getting an answer for this.
So basically I have Apache running from a stand alone tower server (16GB RAM, 24 Cores, you got it) and want to access the servers web site provision without hitting a failed to load page.
SSH is working so I have the right IP address, tried adding port 80 forwarding rule (did not know what I was doing) and entered 255.255.255.0 for Sub Network and then the IP address and ports for the forwarding rule, appropriately.
If someone can please tell me the answer I hope it helps somebody else spending 1.5 hours finding this info, as well as me.
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Wed May 20, 2020 16:46 Post subject:
It would help to know what router and what build revision number of DD-WRT you are running and from which side of router you are trying to access the apache server. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Not sure why some have troubles with such.
I use Port Range Forwarding and have for many years without a problem
NOTE: when you make changes there and Save / Apply Settings it may take 15 ~ 20 seconds before it all take affect.
If you imediately 'Apply Settings' and try to access what is forwarded you will likely get router webif wanting you to login...
... started doing this 'bout a year or so back --- but hell 15 ~ 20 seconds is fine with me
As you can see I have three devices that I forward 80 to depending on what I'm doing to their Apache servers.
Right now the Apache webserver is running to public via a wireless machine I just got & setup yesterday...
...I tend to swap what is running to public when I'm doing updates or whatever but all webservers are synced so it don't make no nevermind.
The other two I have ports 'blocked-out' are OVPN servers running on WAPs within my local net.
Main router is an EA8500 but works same whatever I have in as main gateway router.
I also always access webserver via its public domain name (NAT loopback) and/or I access the others that are not forwarded by their local name via local DNS
tried adding port 80 forwarding rule (did not know what I was doing) and entered 255.255.255.0 for Sub Network and then the IP address and ports for the forwarding rule, appropriately
where do you specify the subnet for port forwarding?
can it be that you confuse "source net" with "subnet"?
I wanted to avoid a comment but ..
Quote:
So basically I have Apache running from a stand alone tower server (16GB RAM, 24 Cores, you got it)
great but too stupid to set up a simple port forwarding
It would help to know what router and what build revision number of DD-WRT you are running and from which side of router you are trying to access the apache server.
Thanks for the reply. Yeah, I am using a Linksys WRT1900ACS. Latest did-wrt firmware.
Thanks also to the other poster who shared a screenshot. It’s appreciated.
As for the other posts the ambiguity with naming is a direct copy from the settings page. Can’t comment on what port forwarding has to do with Apache-Nginx. Just trying to get some help.
pic shows that router don't have a public WAN
...so you must forward port 80 to it (192.168.2.7) or put it in DMZ --- and then from router in pic forward port 80 to 192.168.1.129 (if that is the webserver IP)
oh yea, ---- that is a really old - NOT-so-good DD-WRT build showing in the pic
And don't stay anything about the router database. There is a disclaimer on it now.
Router Database wrote:
DISCLAIMER
This database may not have up-to-date information and may even recommend a build which might cause issues. As such, you should check the device specific forum (Broadcom, Atheros, MediaTek, etc.) first before flashing any build recommended in this database. There you will find build specific topics that discuss any issues with a particular build/release. For more up-to-date firmware files, please visit the firmware faq.