|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Hi, I have the following problem
I have a lan, with a linux gateway, and also an apache server in another computer behind the gw. I use ipmasqadm to forward all incoming connections from the outside to the apache server and it works just fine. The problem is when I try to access a webpage from a lan computer. I mean when I try through URL and not through the internal ip. I've solved it by adding the host in /etc/hosts/ in all clients machines (running XP), but I would like to solve it from the gw directly. Any guess? (sorry for my bad english ) |
|
#2
|
||||
|
||||
|
I've had similar problems in the past. What I do is setup a DNS server in the network on the gateway which forwards all requests to the ISPs DNS servers, except for the one domain name which is sent to the webserver. You just need to make sure that the clients are all configured to use the internal DNS server, rather than those of your ISP. This should be pretty easy if you're using DHCP.
|
|
#3
|
|||
|
|||
|
I thought about that.
I don't use dhcp because I need to use static ips for some games in my lan. Is there any other way to do it? Maybe writing another ipmasqadm rule or by using ipportfw? |
|
#4
|
||||
|
||||
|
I'm not sure of any other way I'm afraid. I don't know enough about ipmasqadm rules or ipportfw to tell you... Perhaps someone else can.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Networking Help > Accesing apache in my lan |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|