Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 15:20:44 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Steve Quezadas <steve@tripperjones.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mac filtering with ipfw2
Message-ID:  <DABF75CE-FB82-11D8-B6F3-003065A20588@mac.com>
In-Reply-To: <001f01c48f74$aa00e460$0401a8c0@SteveWindows>
References:  <001f01c48f74$aa00e460$0401a8c0@SteveWindows>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DABF75CE-FB82-11D8-B6F3-003065A20588>