Date: Fri, 30 Jul 2010 14:30:54 +0200 From: Bas Smeelen <b.smeelen@ose.nl> To: freebsd-questions@freebsd.org Subject: Re: IPFW with MAC address configuration Message-ID: <4C52C5FE.5030109@ose.nl> In-Reply-To: <4C52BE66.1000908@ose.nl> References: <BLU0-SMTP101EE0EB35631182688E5DB93AA0@phx.gbl> <4C52BE66.1000908@ose.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
=3E On 07/30/2010 01=3A18 PM=2C Carmel wrote=3A =3E =20 =3E=3E I am trying to set up a rule using IPFW that utilizes a MAC address= =3E=3E rather than an IP one=2E =3E=3E =3E=3E ipfw -q allow log tcp from MAC 00-14-A4-43-8E-BA to me 137 in via nf= e0 setup keep-state =3E=3E =3E=3E Would that work=2C assuming the machine I want to allow access has t= hat =3E=3E MAC address=3F =3E=3E =3E=3E =20 =3E=3E =20 =3E According to the manual =28man ipfw=29 I guess the rule would something= like=3A =3E ipfw add 1000 allow log tcp MAC any 00=3A14=3AA4=3A43=3A8E=3ABA/33 to m= e 137 in =3E via nfe0 setup keep-state =20 To match this mac address exactly it should have MAC any 00=3A14=3AA4=3A43=3A8E=3ABA/48 I=27m not sure about this DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Acce= ss=2C disclosure=2C copying=2C distribution or reliance on any of it by anyone else is prohibited=2E If yo= u have received it by mistake please let us know by reply and then delete it from your system= =2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C52C5FE.5030109>