From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 07:47:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A073416A4C3 for ; Fri, 3 Oct 2003 07:47:05 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BFD144005 for ; Fri, 3 Oct 2003 07:46:59 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h93Ek5BB028653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2003 15:46:35 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h93Ek5gg028643; Fri, 3 Oct 2003 15:46:05 +0100 (BST) (envelope-from matthew) Date: Fri, 3 Oct 2003 15:46:05 +0100 From: Matthew Seaman To: traore@afribone.net.gn Message-ID: <20031003144605.GA36220@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , traore@afribone.net.gn, freebsd-questions@freebsd.org References: <1065185787.3f7d71fb86531@mail.afribone.net.gn> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <1065185787.3f7d71fb86531@mail.afribone.net.gn> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Filter by MAC Address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 14:47:05 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 03, 2003 at 12:56:27PM +0000, traore@afribone.net.gn wrote: > I get router on FreeBSD. I want to filter packet by MAC Address fitering= =2E Pls=20 > let me know how can i this using ipfw. Or how can install iptables on fr= eeBSD > (with iptables, this is possible). Yes, this is certainly possible. You need to be running at least FreeBSD 4.6-STABLE from after August 16th 2002: any later version of 4.x-STABLE or -RELEASE will do fine, as will any 5.x version (although running 5.x on a critical router is probably not the best idea). Under 4.x you need to follow the instructions in the ipfw(8) man page about enabling ipfw2 and compiling an appropriately customised kernel -- see the sections "USING IPFW2 IN FreeBSD-STABLE" and "IPFW2 ENHANCEMENTS" towards the end of that page. Under 5.x, the ipfw2 is the default ipfw supplied with the system. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/fYutdtESqEQa7a0RArZ2AJ9G5uY9zGtItLG5xsZGLEoXTro4DACffCRl ERIbOcgUz5ztxP84KlPOecA= =Xq3I -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--