In a recent project , I have enabled 2 network cards on the Android 6.0(1 
for internal networks and 2 for external internet, the client can ping its 
own gateway by now )---now I want to enable the ip forward for these 2 
networks so that intranet client also can access internet via network 2, 
but it seems it can't work if I input the following cmd via adb:
  
    echo 1 > /proc/sys/net/ipv4/ip_forward

Is there anyway to prove ip_forward dose work as expected ? 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2b3d0733-0036-4167-9a77-871ab9c8edce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to