Hi All,
I am trying to filter traffics that go through my AP. I have, for example, 2 wireless clients. Client A pings client B as they are connected through WLAN0 interface on my OpenWRT router (I am using Raspberry Pi 2 for the router).
In this scenario, client A can certainly ping client B. Then I tried to deploy a netfilter rule: "iptables -A FORWARD -j REJECT -p icmp", but the traffics don't seem to be filtered by the iptables. I tried iptables to filter traffics between 2 interfaces, e.g. WLAN0 and LAN0, and it works just fine as expected because it filters the traffic that goes from one interface to another.
Does anyone know any method to filter this traffic from client A to B that are connected to the AP (only one interface)? Or do we have to hack iptables to do this?
Thank you!
Kind regards,
Rahmadi