[ IP forward ] with Android 4.0 don't work

来源:互联网 发布:c语言 libevent 编辑:程序博客网 时间:2024/04/30 04:04


http://stackoverflow.com/questions/11109215/ip-forward-with-android-4-0-dont-work


Il test a man in the middle attack (mitm) in wireless with a smartphone (HTC One X) and 2 computers. With the smartphone, the arp cache poisoning has correctly corrupted my 2 computers.

For the forwarding I have juste put "1" in /proc/sys/net/ipv4/ip_forward. But ip forward don't work.

Shark sniffed in my smartphone, I sent packets with a computer, they are well arrived at my smartphone but they are not redirected to my other computeur.

Is there any others solutions for ip forwarding with android 4.0 ?


I know it's very late for it but i had this same problem. I had fixed it now. Link to answer:superuser.com/a/985733/505719 – krystian71115Oct 12 '15 at 19:48


echo "1" > /proc/sys/net/ipv4/ip_forwardiptables -F -t filteriptables -P FORWARD ACCEPT


Android 4.4.4

Kernel: 3.4.67



0 0