• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Get Config Page not Server on LAN - WAN Side Works

EmosOohay

Member
I've RTFM and STFW but can't find a solution.

I've got several XP PCs and a Linux Apache server on the LAN side of an Actiontec GT701 DSL modem/router.

When I enter the server domain name on the LAN side the PCs get the main DSL modem/router page, while PCs on the WAN side get the correct index.html server page.

I'm forwarding port 80 in the router to the server IP.

I think it's a common problem with a simple solution just can't figure out what it is.

How to I get the router to forward local requests as well as external requests to the server?

Do I need to setup a route for the server on each local PC?

Thanks for any assistance!
 
So if I understand correctly your forwarding all Port 80 traffic from the router to the Apache server. All EXTERNAL (Internet) traffic is being correctly routed to the Apache server but INTERNALLY (your XP machines) they are being forwarded to the router when they make the request.

Ok, first things first.. Let's start with DNS. I'd setup a LOCAL (Internal) DNS server with forwarders. So configure your domain on the internal DNS server (ie: [A] Record for WWW for DOMAIN.COM goes to 192.168.0.10<- Your Apache server). Try that, it should solve your problem.

If it doesn't, please post more info, IP's, DNS, gateway, router IP, Domain name, etc... This way I'll have a better understanding of your environment.


P.

:: I'm not a SPAMMER 😛 ::
 
Thanks, seems like a good solution, especially since one of the PCs is a laptop that leaves the LAN and also connects via the WAN. I'll check into it.

Can I use the DNS server on the Linux box as the LAN DNS server?
 
Sure, you could use BIND (or something else). Just be sure to point your DNS on the XP workstations to the server running DNS. Also, don't forget to setup your forwarders 😉

Concerning the laptop, you might want to enable a DHCP server so the laptop can roam freely without reconfigure the network card each time you bring it out of the office.
 
Thanks for asking!

Yes, sort of, I took the quick route and added enteries to the hosts files. When things get a little more stable I'll try your suggestion, it's more flexible to changing situations.

Right now I'm setting up a subnet between the server and my workstation; each system has 2 interfaces.

Question:

Would the most secure configuration be where the DSL/router interfaces to the server port 1, then the server interfaces to the switch with port2 and the server performs the firewall/router function? The switch then interfaces the remaining PCs.

Thanks

 
Questions:

1. The role of this server; firewall only? If not, don't do it.
2. OS of the server

If you can give me as much detail as possible it would help 😉
 
Sorry forgot . . .

No, primary function would be web server

Apache 2.2 on Redhat Linux.

I've got several XP PCs and the Linux Apache server on the LAN side of an Actiontec GT701 DSL modem/router with a netgear gigabit switch inbetween the router and PCs..
 
I'd recommend getting either a firewall appliance, or a dedicated PC. Don't run the firewall on your web server!
 
Back
Top