Hi,
I have a gentoo system with 2.4.26 kenel and 1.2.9 iptables.
I have the kernel compiled with MAC netfilter.
iptables -L MAC_FILTER
Chain MAC_FILTER (0 references)
target prot opt source destination
RETURN all -- anywhere anywhere MAC 00:60:1D:F0:E9:FD
RETURN all -- anywhere anywhere MAC 00:60:1D:1C:65:B9
RETURN all -- anywhere anywhere MAC 00:60:1D:F0:EA:03
RETURN all -- anywhere anywhere MAC 00:60:1D:F1:77:3C
RETURN all -- anywhere anywhere MAC 00:60:1D:F7:74:BC
RETURN all -- anywhere anywhere MAC 00:60:1D:F1:77:1D
RETURN all -- anywhere anywhere MAC 00:02:2D:1C:91:A7
RETURN all -- anywhere anywhere MAC 00:60:1D:F1:77:33
RETURN all -- anywhere anywhere MAC 00:60:1D:F2:20:33
RETURN all -- anywhere anywhere MAC 00:60:97:72:52:35
RETURN all -- anywhere anywhere MAC 00:60:97

0:0A:CD
LOG all -- anywhere anywhere limit: avg 3/min burst
5 LOG level info prefix `MAC address dropped: '
DROP all -- anywhere anywhere
I am having difficulty achieving the desired result with this chain.
Am I wrong thinking if a machine behind my firewall (on my inward network) that has
a mac address other than above tries to access the network via this router the
packets will be dropped.
Here is a little more insight. I have a wireless hub uplinked. The above mac
addresses are those of my wireless cards. If someone with another card were to
access the network I want dropped packets.
so the following command is also used...
iptables -t nat -A PREROUTING -j MAC_FILTER
Any help in identifying what I am doing wrong is appreciated.
Thanks.
-Walt