Re: Mac filtering with ipfw2

From: Charles Swiger (cswiger_at_mac.com)
Date: 08/31/04

  • Next message: Olivier Renard: "FreeBSD on external Hard Disk"
    Date: Tue, 31 Aug 2004 15:20:44 -0400
    To: Steve Quezadas <steve@tripperjones.com>
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Olivier Renard: "FreeBSD on external Hard Disk"

    Relevant Pages

    • Re: MAC Address
      ... AW> I have a firewall running on a FreeBSD 4.10-STABLE with ipfw. ... AW> To unsubscribe, ... you're right it is working very well if its purpose is to let MAC ...
      (freebsd-questions)
    • Re: multiple natd + ipfw, with 2 internal ips
      ... > I have a little problem with my natd or ipfw configuration. ... Having two NAT interfaces in pf.conf is ... this as the destination MAC address. ...
      (freebsd-net)
    • Re: Need help: fwd on ipfw
      ... > question I have with ipfw. ... I don't understand why this is so, because the same DNS service works ... But I need to lock down at the MAC level (to prevent IP ... "deny ip from any to 127.0.0.0/8" ...
      (freebsd-questions)
    • Re: Secure File Copy
      ... I have enabled SSH on the FreeBSD system and I can ... SSH into the box from the Mac, However I do not know how to copy the files ... need to back up from the FreeBSD system to the Mac. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Blocking traffic by Mac address using IPFW
      ... Hash: SHA1 ... Kevin Kinsey wrote: ... I need some help regarding using IPFW to block specific MAC ...
      (freebsd-questions)