title: How to block based on Mac address on FreeBsd? (ipfw firewall)
body: <p>i have worked on freebsd for a while.I installed ipfw configuration firewall and setup it. I want to filter based on Mac Adress.How can i do?I wrote that but it didn't work.</p>
  
  <p><strong>ipfw add 4 allow ip from any to any layer 2 mac-type arp<br>
    ipfw add 5 deny ip from any to any MAC any 1A:BF:48:9F:71:3B in recv $em0<br>
    ipfw add 6 deny ip from any to any MAC any 1A:BF:48:9F:71:3B any in recv $em1</strong></p>
  
  <p>Thank you for your answer</p>