how to allow by MAC

Julian H. Stacey jhs at berklix.com
Sun Jun 10 13:34:21 UTC 2012


Hi,
Reference:
> From:		Bill Yuan <bycn82 at gmail.com> 
> Date:		Sun, 10 Jun 2012 21:09:01 +0800 
> Message-id:	<CAC+JH2ySQVCSXY+3Grh+Qe=Li3WzSYu8CzQ3sA1w3AZGPjptnQ at mail.gmail.com> 

Bill Yuan wrote:
> come on , someone help please,
> 
> 
> 
> On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan <bycn82 at gmail.com> wrote:
> 
> > Hi,
> >
> > how to allow by MAC in ipfw
> >
> > currently i set the rule like below
> >
> > 1  allow ip from any to any MAC any to <MAC Address 1>
> > 1  allow ip from any to any MAC <MAC Address 1> any
> > 2 deny all from any to any
> >
> > i want to only allow the mac address to go through the freebsd firewall,
> >
> > but I found it is not working on my freebsd but it works on pfsense!
> >
> > so maybe that means the environment is not the same ? and how to setup the
> > ipfw properly to support this ?

Maybe others ignored it for the same reason I did: blocking by MAC
number seems weird & of no interest, I block & pass by IP net number.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
	Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/


More information about the freebsd-questions mailing list