[ IP forward ] with Android 4.0 don't work


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 – krystian71115 Oct 12 '15 at 19:48


echo "1" > /proc/sys/net/ipv4/ip_forward

iptables -F -t filter

iptables -P FORWARD ACCEPT


Android 4.4.4

Kernel: 3.4.67



posted @ 2016-07-13 21:54  张同光  阅读(82)  评论(0编辑  收藏  举报