My task is to restrict(only send and accept request from specific ip ) the incoming and outgoing n/w traffic from Android H/W(OS 4.0.4).
After Google this, i found that this could be done by iptables but i didn't found that in which file or place i need to change or update.
Can anyone give the example with command assuming that from 1.1.1.1 ip(wifi n/w) Android h/w will connect.