Posted: Sun Jun 25, 2017 16:35 Post subject: Block wan Interface via iptables
Hello
I am looking for a iptables rule, which blocked the complete access to the Wan interface via the MAC address. So that my tv in the Lan is attainable but no connection to the Wan (Internet) has. Can someone tell me how the rule would look?
I have already tried the following, but unfortunately without success.
Thanks
Oxbow
Iptables -I FORWARD -i br0 -m mac -mac-source 00: 00: 00: 00: 00: 00 -j DROP
Iptables -A PREROUTING -i br0 -m mac -mac-source 00: 00: 00: 00: 00: 00 -j DROP