Mac filtering with ipfw2
Charles Swiger
cswiger at mac.com
Tue Aug 31 12:21:03 PDT 2004
On Aug 31, 2004, at 12:07 PM, Steve Quezadas wrote:
> I basically want to allow traffic to come from one mac address. I am
> trying to get the following rule to work:
>
> ipfw add accept tcp from any to any MAC any 10:20:30:40:50:60
OK, that looks about right.
> Yes, ipfw2 is on my freebsd system. This rule is basically: "allow
> traffic from mac address 10:20:30:40:50:60 to anywhere on the
> network".
>
> What am I doing wrong?
Dunno. You've told us what you want to do, but you haven't told us
what the problem is that you are having. If you add the log keyword to
your rules, you might have a better shot at seeing what they are doing;
also look at "ipfw -a list".
--
-Chuck
More information about the freebsd-questions
mailing list