linux box to link our lan to an internet provider: how?

linux box to link our lan to an internet provider: how?

Post by fabrizio carrar » Thu, 12 Mar 1998 04:00:00



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

 
 
 

linux box to link our lan to an internet provider: how?

Post by Soren Riis » Fri, 13 Mar 1998 04:00:00



> I would like to set up a Linux box to be able to use
> Netscape on all the machines of our lan.
> [..cut long explanation...]
> Evidently I'm missing something! Routing?
> IP masquerading? Bad use of  'named'?

Yep, you'r missing something.  You need to install your Linux as a
Firewall & Masqurade server (look at the two HowTo's).

Once you done that, you tell all your lan computers, that your linux box
is gateway, and then you tell Netscape that you have direct access to
internet (no proxy server needed).

Soren

 
 
 

linux box to link our lan to an internet provider: how?

Post by nex » Sat, 14 Mar 1998 04:00:00




> > I would like to set up a Linux box to be able to use
> > Netscape on all the machines of our lan.
> > [..cut long explanation...]
> > Evidently I'm missing something! Routing?
> > IP masquerading? Bad use of  'named'?

> Yep, you'r missing something.  You need to install your Linux as a
> Firewall & Masqurade server (look at the two HowTo's).

> Once you done that, you tell all your lan computers, that your linux box
> is gateway, and then you tell Netscape that you have direct access to
> internet (no proxy server needed).

> Soren

You may want to have a caching web proxy on the linux box anyway
since all the masqueraded hosts will be sharing the bandwidth of a
single PPP line.  Things can quickly slow to a crawl that way.  If your
users access the same web site it would only have to be downloaded
once and cached.

--
 nex

 
 
 

1. Linux as an Internet provider box...

Hi:

Is there anybody using a Linux system as a SLIP/CSLIP/PPP server
which is connect to the Internet and can provide access and maintain
usage accounting to resell Internet access ? If yes, I'm interesting to
see how stable is it and some stats of the perfs vs the number of serial
port use at the same time.

Thank you very much for any info.

Bye.
--
================================================================

================================================================

2. ISA Plug and Play (Pray)

3. Very Slow FTP on Local LAN Linux server/masquerading box, but internet FTP is fine.

4. Idiot question about HW and Linux

5. Setting up my linux box as a gateway to internet on a small LAN

6. MMDF and UUCP

7. Linking two LAN's using Linux boxes, analog modems, PSTN

8. Banner Printing in TCP/IP Network

9. Internet Provider Ships In A Box

10. linux box as router between LAN and internet-via-ppp / help requested

11. Linux box running SLIP as gateway to the Internet for Netware LAN

12. LAN Internet access over one Linux - PPP box/

13. Using Linux machine to link small lan to Internet