From owner-freebsd-questions@FreeBSD.ORG Mon Sep 24 21:47:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EDC516A46B for ; Mon, 24 Sep 2007 21:47:48 +0000 (UTC) (envelope-from mlt01+OU=159a59ab@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id DBFD113C43E for ; Mon, 24 Sep 2007 21:47:47 +0000 (UTC) (envelope-from mlt01+OU=159a59ab@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 0842751997; Mon, 24 Sep 2007 17:47:45 -0400 (EDT) Date: Mon, 24 Sep 2007 22:47:43 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070924224743.5fbc0b35@gumby.homeunix.com.> In-Reply-To: <020301c7fef2$7e8a1db0$6501a8c0@GRANT> References: <020301c7fef2$7e8a1db0$6501a8c0@GRANT> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Grant Peel Subject: Re: Silly IPFW question. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 21:47:48 -0000 On Mon, 24 Sep 2007 17:33:05 -0400 "Grant Peel" wrote: > Hi all, > > I am sorry if this is a no-brainer .... > > Is there anyway to make a rule in IPFW that will match MAC addresses > instead of IP or port numnbers (and no, I didnt see anything in the > docs :-)) man ipfw and search for MAC Note that you need to set a sysctl for layer 2 - which is also covered in the man page.