Quote:
Originally Posted by hermouche
iptables -A FORWARD --mac-source xx:xx:xx:xx:xx:xx -j DROP
that's what i did but the answer is " unrecognized arg --mac-source"
|
your syntax is incomplete... it's like this:
Code:
iptables -A FORWARD -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
BTW, it would be a good idea to match your LAN interface also... like:
Code:
iptables -A FORWARD -i $LAN_IFACE -m mac \
--mac-source xx:xx:xx:xx:xx:xx -j DROP
just my

...