iptables in android

前端 未结 6 1071
星月不相逢
星月不相逢 2020-12-07 16:55

Are IPtables inbuilt in android kernel? If they are, how to use them in our android application?

6条回答
  •  无人及你
    2020-12-07 17:18

    This is a 5 year old solution (root required):

    • install the APK of Android WiFi Tether from http://code.google.com/p/android-wifi-tether/
    • 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.

提交回复
热议问题