I have been trying to use iptables to block clients through mac address due to some testings and it does not not to work.
The inputed commands do get but when the firelwall is restarted they are gone. In other words; the changes do not get into effect even tho i can see added macs. iptables -P INPUT DROP iptables -P FORWARD DROP or iptables -A INPUT -i wlan0 -p ALL -j DROP iptables -A FORWARD -i wlan0 -p ALL -j DROP To: iptables -A INPUT -i wlan0 -p ALL -m mac --mac-source 00:09:B7:7B:B2:58 -j ACCEPT iptables -A FORWARD -i eth0 -p ALL -m mac --mac-source 00:09:B7:7B:B2:58 -j ACCEPT Or even to just block a mac. iptables -A INPUT -i wlan0 -p ALL -m mac --mac-source 00:09:B7:7B:B2:58 -j DROP iptables -A FORWARD -i eth0 -p ALL -m mac --mac-source 00:09:B7:7B:B2:58 -j DROP none seem to work openwrt version DISTRIB_RELEASE="Attitude Adjustment" DISTRIB_REVISION="r35003" DISTRIB_CODENAME="attitude_adjustment" DISTRIB_TARGET="ar71xx/generic" DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment 12.09-rc1" What am i missing here? I am forgeting any iptables module ? Which module from the kernel is responsable for filtering macs ? _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
