From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sun, 31 Oct 2004 17:32:30 +0000 Subject: Re: [LARTC] Howto route through Message-Id: <200410311832.30566.stef.coene@docum.org> List-Id: References: <41850B0D.9000409@draxinusom.ch> In-Reply-To: <41850B0D.9000409@draxinusom.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Sunday 31 October 2004 16:55, Rene Gallati wrote: > Hello list, > > I'm having a little trouble imagining a setup I'll soon have. > > I am in the process of getting a routed /28 to my homeLAN. What I want > to do is to put a linux box in front of the lan to filter some of the > unneeded and potential dangerous ports. Now the box has 2 nics, one for > the inside one for the outside. > > How should I go on to setup those NICs when > a) the PCs in the net should have their official IP address from the /28 > net and > b) the filtering linux box should at the same time have one IP address > from the same range for some services it provides > > The dilemma I see (maybe it is none but I just don't know) > if I put it this way that I have the IP of the /28er range on one nic > and nothing to put on the other ? You can give the nics the same ip address. Just be carefull with the routi= ng,=20 you need the specify the nic when you add a route so the packets are going = out on the interface they have too. Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/