Jump to content

(http) proxying over a wifi connection with Modaco r8 ?


Recommended Posts

Guest professordes
Posted

Is it possible to set up http (or even more general) proxying with Modaco r8 for a wifi network that has a proxy server (with or without login)?

This is quite a common setup at universities/businesses.

There are long discussions elsewhere (e.g http://code.google.com/p/android/issues/detail?id=1273, http://forum.xda-developers.com/showthread.php?t=730843) but none of the suggested solutions has worked for me.

What hasn't worked so far for me:

1) Locale with the IP/Proxy plugin

2) proxymator

3) editing /data/data/com.android.providers.settings/databases/settings.db to add an http_proxy key directly

Solutions that have worked for others aren't ideal: - installing Fennec (takes up too much space for me), using an OpenDesire 3.6.X ROM (I want to stick with Modaco if I can). Using Opera Mini is also a possibility as it can find its way out, but I'd like something that works with the built in browser.

Guest professordes
Posted
Thanks, I'll give it a shot.

I should have said that Orbot gives no joy either - it stalls on startup.

The Modaco r8 doesn't appear to support enough of iptables - I'm getting similar errors to those reported by some others in your xda thread:

# ./tproxy -s 8123 1.0.0.10 8080

# iptables -t nat -A OUTPUT -p tcp -m multiport --dports 80,443 -j REDIRECT --to-ports 8123

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

iptables: No chain/target/match by that name.

single redirects don't work either :huh:

# iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 8123

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

# iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 8123

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

Guest professordes
Posted
The Modaco r8 doesn't appear to support enough of iptables - I'm getting similar errors to those reported by some others in your xda thread:

# ./tproxy -s 8123 1.0.0.10 8080

# iptables -t nat -A OUTPUT -p tcp -m multiport --dports 80,443 -j REDIRECT --to-ports 8123

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

iptables: No chain/target/match by that name.

single redirects don't work either :huh:

# iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 8123

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

# iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 8123

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

The rules appear to be set, in spite of the error being thrown up - see:

http://forum.xda-developers.com/showthread...6569&page=2

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.