OpenWrt Forum Archive

Topic: MAC-filtering

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I'm trying to do some MAC-filtering via iptables but I fail and I hope some of you guys can help out.

# /usr/sbin/iptables -t mangle -A PREROUTING -m mac --mac-source 00:E0:91:31:CD:3E -j MARK --set-mark 2
iptables v1.3.7: Couldn't load match `mac':File not found

I've tried to install both "kmod-ipt-extra" and "iptables-mod-extra" without success.

Best regards,
ayeee

Install iptables-mod-ipopt package

Thanks alot :-)

The discussion might have continued from here.