Date: Sun, 10 Jun 2012 15:40:27 +0200 From: "Julian H. Stacey" <jhs@berklix.com> Cc: Bill Yuan <bycn82@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: how to allow by MAC Message-ID: <201206101340.q5ADeRua018510@fire.js.berklix.net> In-Reply-To: Your message "Sun, 10 Jun 2012 15:33:54 %2B0200."
next in thread | raw e-mail | index | archive | help
"Julian H. Stacey" wrote: > Bill Yuan wrote: > > come on , someone help please, > > > > > > > > On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan <bycn82@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. as shown by ifconfig MAC : 6 byte IP : 4 byte (IPV4) 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206101340.q5ADeRua018510>