how to allow by MAC
Julian H. Stacey
jhs at berklix.com
Sun Jun 10 13:40:46 UTC 2012
"Julian H. Stacey" wrote:
> 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.
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/
More information about the freebsd-questions
mailing list