title: How to use iptables in an Android application
body: <p>How can I use iptables in an Android application? I need this for a firewall-like functionality i.e. packet filtering, blocking sites etc.</p>
  
  <p>I'm also not sure whether iptables are available in the Android kernel. </p>
  
  <p>I previously heard that I'd have to create cross-compiled binaries of iptables – but how can I do that? And how can I use them in the application?</p>