• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root IP Route Add

zenzo2

Lurker
May 24, 2010
3
0
does anyone know of a good way to do some IP Routing on the Android platform.

What I'm trying to do...

ip route add (private range)10.X.X.X/16 via (public router not firewalled) X.X.X.X dev ppp0

that is the closest i can get to doing this in the CLI in the terminal emu on my rooted droid.

I can do this with a desktop platform like Ubuntu/Windows. so I know the routing works... just don't know how to get it to work in Android.

what this does is allows me to manage my private network from anywhere.

I have also tried to use a http proxy but I can't figure out how to get android to take a proxy setting for it's browsers... I tried proxybrower and it doesn't seem to work on 2.X or later...

Droid Bugless Beast V1.0
 
Unfortunately no... Connection bot where it's a good program that I have used is basically is a terminal client.

this issue is I have a private network behind a public IP...

the phone has to know how to route to this private network.

this can be done really easy in linux with a command like
ip route add 10.0.0.1/16 via 254.254.254.1 dev ppp0
something like that is differs depending on Distro
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones