The title is self explanatory.
I want to create rules in pf running on OpenBSD 4.9 for perticular MAC address, something like
pass in on eth0 from mac 00:04:34:5f:34:33 to mac 34:32:34:06:5e:22
I have read this, but it doesn't help!!
The title is self explanatory.
I want to create rules in pf running on OpenBSD 4.9 for perticular MAC address, something like
pass in on eth0 from mac 00:04:34:5f:34:33 to mac 34:32:34:06:5e:22
I have read this, but it doesn't help!!
If i remember well, you can't. You can only filter mac address when you do it on a bridge if
As mandrake pointed out you can't filter by MAC address directly in PF (it's an IP packet filter, it knows not of this "ethernet" thing).
What you CAN do, if your system is acting as a bridge, is tag packets based on MAC address, and then filter based on the tag.
From the pf FAQ: