Are IPtables inbuilt in android kernel? If they are, how to use them in our android application?
This is a 5 year old solution (root required):
run a terminal:
$ su -
# mount -o remount,rw /system
# cp /data/data/android.tether/bin/iptables /system/bin/
But as Google Code became read-only will continue to work as normal until "at least January 2016", it means next month this answer could be useless.