[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network Internet Access




On Thu, 25 Nov 1999, Neil D. Roberts wrote:

> Hi Everyone. . .
> 
> 	I think it's best to start off with the right question. I
> have a network of about 25 computers, all on the same class C
> (192.168.1.*). I have a Linux box, which is 192.168.1.1, and this
> Linux box is going to be the default gateway of every other 
> machine in this network. So, this Linux box, has to give access 
> from inside to outside, as in web, ftp or mail requests, and the
> linux box has to reply them. I don't know what software I am
> supposed to use for this. Someone recommended me IPMasq, but I
> think I have a completely wrong concept of ipmasq. Ummm....Help?

You want to use a software that can do NetworkAdressTranslation & Port 
forwarding.
That basically meansAll traffic coming from your lan goes to your linux 
gateway. There the ip-adress is rewritten as beeing 192.168.1.1 and the 
datagrams are sent out to the net. Say the packets then go to a web 
server, the webserver in return sends some packets to your internet gateway.
Now comes the tricky part. Your gateway must know to what ip on your 
local net the packets must go. It does this based on the ports the 
request from your client in the lan came from.
ipmasq was in older kernels the software that did this.
Now it is called ipchains.
There is some quite good documentation out there now including various 
howtos and tutorials on that topic.
Cheers, Rolf


Reply to: