From owner-freebsd-questions Sun Jan 25 08:30:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16564 for questions-outgoing; Sun, 25 Jan 1998 08:30:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA16431 for ; Sun, 25 Jan 1998 08:29:25 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.5/8.8.5) with ESMTP id QAA03621; Sun, 25 Jan 1998 16:29:07 GMT Message-ID: <34CB6853.6A853DBC@tdx.co.uk> Date: Sun, 25 Jan 1998 16:29:07 +0000 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Foubert Patrick CC: freebsd-questions@FreeBSD.ORG Subject: Re: Configuring FreeBsd as Firewall References: <01bd29a6$74a7dcf0$96636261@pfo.be> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Are you sure these are the right addresses? - 194.195.196.0 sounds like a network address, not a host address - maybe this is your problem? You also have to decide what you want the firewall to do - the most common (and probably correct) policy is 'implicit deny', so you would start of by making your firewall deny everything by default - and then add the services you want to allow... How you go about this depends on what you want to allow, and which version of FreeBSD your running (for example - 2.2.5 has a file in /etc called 'rc.firewall' - look at that for examples ;-) Regards, Karl Pielorz > Foubert Patrick wrote: > > My problem is very simple: > I has installed FreeBSD on a 486Dx2/8Mb with 2 ethernet cards. > One for communicate with an ISP an one for communicate with my network. > I have problems for configurate Firewall. > > If one has an specific address and second card an other address > (respectively 194.195.196.0 and 194.195.196.1). How make a correct > configuration in rc.conf for enable Firewall and gateway ? > > Thanks for yours comments and HELP !