I have a couple of devices in my subnet (e.g. 192.168.0.0/24) and would like to make sure that one of these devices (identified by MAC or IP) can only talk via the router (where I'd like to set up this rule) to the internet but not to others in this subnet. How can I do this using iptables?
iptables: block communication with others in same subnet
iptables;firewall