I would like to set up a Linux box to be able to use
Netscape on all the machines of our lan.
The Linux box connects via ppp to the internet
provider, and runs a proxy server.
Notice that the provider only listens to packets
coming from a single IP address, which is the one of
the linux box, and only sends packets to that address.
Now the problem:
how should the names of the web sites be solved?
If I tell Netscape to use the proxy, and type
the numeric IP address of a web site, everything
works fine, since Netscape sends a request to the
proxy, the proxy sends a request to the provider,
and the web page comes through the proxy to the
requesting host.
But if I type a name as www.zzz.com, no machine,
apart from the linux box, is allowed to contact the
SOCKS host, since it ignores any request coming from an
extraneous IP address.
If I tell all the machines to use the linux box as a
name server, then I have to run named on the linux box,
but since it is connected to the internet provider
only on demand, 'named' produces lots of errors
while trying to connect autoritative servers.
Evidently I'm missing something! Routing?
IP masquerading? Bad use of 'named'?
Any help is very welcome!
fabrizio