yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] satya_461:
sorry for asking any update?

I will be very happy to test beta version.

I hope to use your app to start iptables NAT routing.

Somehow doing it manually didin't work. (Used iptables on terminal)
[Android Apps and Games] gyangsong:
some apps dont connect

The app works absolutely well exept that some app are not allowed through. Like hike, and all my android torrent apps.
[Android Apps and Games] satya_461:
Sad to see that you have not updated the app for android lollipop..

We now get PIE error when starting the app.

I know that there are some problems you are facing with some features (wifi to 2g/3g switch of networks).

I hoped for a basic version (with pie binaries of redsocks, cntlm, iptables, etc) which works on lollipop..

As of now I switched to ProxyDroid (which uses redsocks, cntlm, etc) and works on lollipop...

Thanks for offering help though..
[Android Apps and Games] DJ_MiX:
Hoping the OP will update this app to run on lollipop..
[Android Apps and Games] rockacm:
finally found this, thank you so much, been looking for this

proxydr*id doesn't work in several apps
[Android Apps and Games] Inforaid:
Download ProxyCap and install it

Now select configurations>> Proxy

Now select HTTP and fill in details and save

Now do same for HTTPS proxy

Follow the guide below for detailed instructions

How to change Bluestacks Proxy Settings

Hope it worked :)
[Android Apps and Games] wilojie:
autoproxy giving error

My iptables refused to install after opening and the autoproxy light displayed an error message stating only position independent executables are allowed that's is after showing no su found on my ROM. Thanks
[Android Apps and Games] muhrizalp:
same message on me sir..
[Android Apps and Games] drhigh5:
proxy.pac problems with Android

Hi, I'm using a droidbox with 4.4.2 on it and trying to connect to a proxy pac url. When using apps such as AutoProxy Lite. I get the error "unable to download pac file". It works fine on a PC auto proxy url. I have installed IPtables on my box. Any ideas?
[Android Apps and Games] Moronig:
Is the link http or https? Does it use a non-standard port?
[Android Apps and Games] drhigh5:
Port 443. Pac works fine on Android 6+ under modify network as they have added the auto pac option there. Stuck on earlier versions of Android.
[Android Apps and Games] Jgough3:
Hi
[Android Apps and Games] Sizzlincok:
Actually sad to see this amazing app not being updated and die.

V0.75 doesn't work at all with Majisk to get root. ?
[Android Apps and Games] Moronig:
Did you get an error message? You can send me some logs if you want me to take a look at it (See FAQ)
[Android Apps and Games] Milraun:
Hi,

the problem is IMHO that in our case squid is not set up as transparent proxy. So programms have to be 'proxy aware'.

I can't see a way around the problem that our internal DNS can't lookup external adresses. It seems that redirecting DNS lookups through squid (in our configuration) isn't possible. The only way I see is to tunnel traffic through http but therefor you need a tunneling server outside of your network.

Milraun
[Android Apps and Games] fajarep:
hi, could you add like exclude destination not using proxy?
[Android Apps and Games] mwelliott:
EDIT - adding info I should have entered at thread creation

phone - mytouch 4g

OS - 2.3.2

autoproxy v - 0.2

When I attempt to start up the proxy, I get the following in the logcat output (and a huge error within autoproxy).

D/tproxy (13557): Updating wireless network info for proxy...

I/tproxy (13557): Received start id 62: Intent { cmp=net.moronigranja.tproxy/.ProxyService (has extras) }

I/tproxy (13557): Proxy is being started...

V/tproxy (13557): proxy.sh start /data/data/net.moronigranja.tproxy/files type=http host=151.193.220.28 port=80 auth=true user=blarg pass=*****

V/tproxy (13557): Proxy was started.

D/su (20829): 10086 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh

V/tproxy (13557): Successfully ran redirect.sh start

V/tproxy (13557): Error starting redirect.sh (

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

V/tproxy (13557): FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344

V/tproxy (13557): iptables v1.3.7: ! not allowed with multiple source or destination IP addresses

V/tproxy (13557): Try `iptables -h' or 'iptables --help' for more information.

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

V/tproxy (13557): FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344

V/tproxy (13557): iptables v1.3.7: ! not allowed with multiple source or destination IP addresses

V/tproxy (13557): Try `iptables -h' or 'iptables --help' for more information.

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

V/tproxy (13557): FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344

V/tproxy (13557): iptables v1.3.7: ! not allowed with multiple source or destination IP addresses

V/tproxy (13557): Try `iptables -h' or 'iptables --help' for more information.)

V/tproxy (13557): Proxy was stopped.

D/tproxy (13557): Error:Failed to start redirect.sh (

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

D/tproxy (13557): FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344

D/tproxy (13557): iptables v1.3.7: ! not allowed with multiple source or destination IP addresses

D/tproxy (13557): Try `iptables -h' or 'iptables --help' for more information.

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

D/tproxy (13557): FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344

D/tproxy (13557): iptables v1.3.7: ! not allowed with multiple source or destination IP addresses

D/tproxy (13557): Try `iptables -h' or 'iptables --help' for more information.

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

D/tproxy (13557): FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344

D/tproxy (13557): iptables v1.3.7: ! not allowed with multiple source or destination IP addresses

D/tproxy (13557): Try `iptables -h' or 'iptables --help' for more information.)

Any ideas on whats up? I've tried copying over a fresh 1.3.7 iptables, but I get the same output. hrmm..
[Android Apps and Games] Moronig:
Sure, I will add that to the TODO list!
[Android Apps and Games] Moronig:
iptables error

mwelliott, from the error message it looks like you are using a hostname for the proxy, rather than an IP address, is that right? iptables is resolving the hostname to more than one ip address, which gives an error for the android build... Please let me know if that's the case. It should be an easy fix if so.
[Android Apps and Games] mwelliott:
That is correct! I have used a hostname as opposed to an IP address. I ran a lookup and ended up putting the same IP that is shown above in my hostname= part.

I no longer get that error! The button at the top right of autoproxy changed to "Connected", however the light isn't green on the button.

None of the apps work either (interwebs, etc). Here is what logcat shows for a grep on tproxy when I hit "connect":

D/tproxy ( 2203): Updating wireless network info for proxy...

I/tproxy ( 2203): Received start id 6: Intent { cmp=net.moronigranja.tproxy/.ProxyService (has extras) }

I/tproxy ( 2203): Proxy is being started...

V/tproxy ( 2203): proxy.sh start /data/data/net.moronigranja.tproxy/files type=http host=151.193.220.29 port=80 auth=true user=blarg pass=*****

V/tproxy ( 2203): Proxy was started.

D/su ( 2860): 10086 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh

V/tproxy ( 2203): Successfully ran redirect.sh start

V/tproxy ( 2203): Successfully ran redirect.sh start http

D/su ( 2871): 10086 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh

D/su ( 2870): 10086 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh

D/su ( 2875): 10086 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh

D/su ( 2876): 10086 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh

Any ideas on what I should do / look for next? :) Many thanks for the help thus far.
[Android Apps and Games] Moronig:
Have you tried disconnecting and back again? If that doesn't work, you can send me the logs from the FAQ: redsocks.log and tproxy.log (can be found on /data/data/net.moronigranja.tproxy/files)
[Android Apps and Games] mwelliott:
Thanks, I gave that a shot just incase I hadn't earlier - no difference (turned off wifi / back on / started up AP).

I'm grabbing the logs and will send them your way!
[Android Apps and Games] eramirezus:
The program works! However, the proxy service doesn't "auto start" when the phone boots up. I have to go to "Auto Proxy" and connect it manually.

I am using a rooted phone on an EVO phone on Cricket Wireless without the Android Plan. My current plan has talk, text, web, and everything enabled.

I wonder if I can use Tasker (app) to "auto start" the Proxy Service.

I'm using wap.mycricket.com: 8080 and authentication as well with my number@mycricket.com and "cricket" as password.
[Android Apps and Games] Moronig:
Okay, it looks like a DNS problem. To confirm that, try connecting to google by ip address: http://209.85.149.104/

If that works, try setting your DNS address to one that works on your computer (on the same network)

To set the DNS address, you need to get to a root shell on your phone (or adb) and run:

ping -c 3 <address>
setprop net.dns1 <address here>

ping the address just to make sure your connection is ok.

after you change that, open a new tab on your phone's browser and try google.com

Alternatively, you can try:

8.8.8.8 (google's public DNS)

208.67.222.222 (OpenDNS)
[Android Apps and Games] mgmate:
Thanks!!!

I want to thanks Moronig for this great application.

Now I can connect to internet using WiFi on my job location, not only through a web browser as in Opera settings, also for all applications using http.

I hope you still continue improving the application.

One question Mororing. Do you know why from my laptop I can connect using same proxy than in the phone to googletalk but from the phone I am not able to do it? On the mobile I can connect to market and internet without issues, but I can not connect to gtalk.

Regards,

Manuel.
[Android Apps and Games] mwelliott:
Awesome... When I get back up to work tomorrow I will give this a shot and report back on the results!
[Android Apps and Games] XZQ't:
My friend has this error on her nexus one with eViL Sense Rom

D/tproxy ( 993): Updating wireless network info for proxy...
I/tproxy ( 993): Received start id 2: Intent { cmp=net.moronigranja.tproxy/.ProxyService (has extras) }
I/tproxy ( 993): Proxy is being started...
V/tproxy ( 993): proxy.sh start /data/data/net.moronigranja.tproxy/files type=http host=192.168.1.3 port=8080 auth=false user= pass=*****
V/tproxy ( 993): Proxy was started.
D/su ( 1584): 10088 net.moronigranja.tproxy executing 0 /system/bin/sh using shell /system/bin/sh : sh
V/tproxy ( 993): Successfully ran redirect.sh start
V/tproxy ( 993): Error starting redirect.sh (FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
V/tproxy ( 993): iptables: No chain/target/match by that name
V/tproxy ( 993): FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
V/tproxy ( 993): iptables: No chain/target/match by that name
V/tproxy ( 993): FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
V/tproxy ( 993): iptables: No chain/target/match by that name)
V/tproxy ( 993): Proxy was stopped.
D/tproxy ( 993): Error:Failed to start redirect.sh (FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
D/tproxy ( 993): iptables: No chain/target/match by that name
D/tproxy ( 993): FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
D/tproxy ( 993): iptables: No chain/target/match by that name
D/tproxy ( 993): FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
D/tproxy ( 993): iptables: No chain/target/match by that name)
D/tproxy ( 993): ProxyListActivity onPause

When manually execute the "iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to 8123" command gave this error

# iptables
iptables
iptables v1.3.7: no command specified
Try `iptables -h' or 'iptables --help' for more information.
# iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to 8123
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to 8123
FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
iptables: No chain/target/match by that name
# iptables -L -n -t nat
iptables -L -n -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Any hint how to solve the issue ?
[Android Apps and Games] Moronig:
Since the second command works, it seems at least the nat table is there. Give me some more information, if you can, send me the output of these commands:

cat /proc/net/ip_tables_targets
cat /proc/net/ip_tables_names
cat /proc/net/ip_tables_matches

That way we can hopefully see what's missing, and if there is an alternative command we can try.
[Android Apps and Games] Moronig:
Manuel, it's possible your proxy is not processing connections to the android authentication port. (5228)

You can try the following:

Once you are connected to the network and autoproxy has started, enter the following command in a root shell:

iptables -t nat -D OUTPUT 3

and then try gtalk again. Let me know how that works so I can fix the issue.
[Android Apps and Games] bringonblink:
Holy crap

it works!

edit

hmm, does not seem to work with the XDA forum app
[Android Apps and Games] Moronig:
I haven't tested it. Will look into it.
[Android Apps and Games] :
so wait... using this app can I do the following?

1. start wifi tethering

2. start this proxy app

3. forward all traffic coming into my phone via tethering to a website of my choice

In other words I want to be able to send anyone using my wifi tethering to a specific portal website.
[Android Apps and Games] jenarelJAM:
So, out of curiosity, how is this app different from SSH Tunnel on the market already?

Not trying to troll, just wondering what the advantage to switching might be.
[Android Apps and Games] Moronig:
Hey, Autoproxy is on the XDA developers front page! Cool :D
[Android Apps and Games] Moronig:
Difference between SSHTuneel and Autoproxy

Hi jenarelJAM,

Actually the objective of the two are almost opposite. SSHTunnel lets you route your connection through a SSH server in order to avoid censorship/blocking.

Autoproxy, on the other hand, allows you to connect through your work/school's proxy to follow their security requirements.

Autoproxy is meant to let you use a proxy on your current (generally wifi) network. On some corporate/academic networks you need to go through a proxy to reach the internet.
[Android Apps and Games] Moronig:
No, sorry. This will forward all traffic coming out of your phone, wheter it originated on the phone, or came from a tethered machine to whatever site they want to go to, through the proxy.

I don't know of an app that does what you are asking, but it should certainly be doable.

Would this be for charging/control purposes?
[Android Apps and Games] :
OK thats what I thought...

I just had this idea to have fun with, after seeing all of the iphones attempt to connect to my EVO when I enabled tethering I thought it would be funny to forward them to an android site when they tried to browse the web :)
[Android Apps and Games] bringonblink:
grats on getting on the front page! This deserves all the attention it gets.

On a different note, it seems the apps are a bit hit and miss for me so far, ones that i tested that did not work were trillian,friendcaster (facebook client), xda app and syncmypix.

How does the port forwarding work exactly, i was under the impression it was a transparent proxy, doesn't that mean it forwards all ports?
[Android Apps and Games] Moronig:
Well, most http proxies support only web requests, so the only ports forwarded for that kind of proxy are 80, 443 (https) and 5228 (market auth).

You could try configuring your proxy as socks, which forwards all ports. Then restart it, and see if that works. I'm also planning to add custom port forwarding in a future version.
[Android Apps and Games] mgmate:
Nope, it did not work.

I did su -root in a terminal window and executed the command but get the same error, It is not possible to establish a connection to the server.

I setup the proxy as HTTP (as in my laptop) no security.

Y tried also socks and ntlm, but none of them works...

From my laptop gtalks works without issues . Could be they are using different ports?

Manuel.
[Android Apps and Games] bringonblink:
I'll give that a shot tomorrow at work!
[Android Apps and Games] craigacgomez:
@Moronig... awesome work... I just downloaded and decided to try this out in my office network and it works great... superb app... the auto-connect works really well...

I did have one problem though... I'm using the latest CM7 nightly on my Nexus One and AutoProxy_v0.24.apk and if I enable logging, I get the error that the redsocks.log file does not exist... here's the logcat... things works great if I disable logging...

Another question... how do you manage the log size? Do you truncate it before every connect or does it just append and grow? Cuz that could cause space issues since it looks like the log file exists in the cache directory...

D/tproxy ( 1790): ProxyListActivity onResume
W/KeyboardStateImpl( 250): EditorInfo provided is null or not valid, defaulting to dumb mode!
D/tproxy ( 1790): Updating wireless network info for proxy...
I/tproxy ( 1790): Received start id 10: Intent { act=proxyActionStart cmp=net.moronigranja.tproxy/.ProxyService (has extras) }
I/tproxy ( 1790): Proxy is being started...
V/tproxy ( 1790): proxy.sh start /data/data/net.moronigranja.tproxy/files type=http host=192.168.10.20 port=3128 log=true auth=false user= pass=*****
D/dalvikvm( 1790): GC_CONCURRENT freed 205K, 51% free 3027K/6087K, external 0K/0K, paused 9ms+6ms
V/tproxy ( 1790): Error starting proxy.sh (
V/tproxy ( 1790): 1306902381.900488 log.c:120 log_preopen(...) log_preopen(file:/data/data/net.moronigranja.tproxy/files/../cache/redsocks.log, ...): No such file or directory)
V/tproxy ( 1790): Proxy was stopped.
D/tproxy ( 1790): Error:Failed to start proxy.sh (
D/tproxy ( 1790): 1306902381.900488 log.c:120 log_preopen(...) log_preopen(file:/data/data/net.moronigranja.tproxy/files/../cache/redsocks.log, ...): No such file or directory)
D/tproxy ( 1790): DNS1: 192.168.10.20 DNS2: 0.0.0.0 Default Gateway: 192.168.10.1 IP Address: 192.168.10.142 Lease Time: 18736000 Subnet Mask: 255.255.255.0 Server IP: 192.168.10.20
[Android Apps and Games] bringonblink:
With custom portforwarding, would that just mean we would need to find out what apps a port uses, then it gets redirected through port 80?
[Android Apps and Games] Zuecho:
Hi,

thanks for our work on this app!

Until now I used TransProxy without any problems. But now I want to try yout AutoProxy, because it connects automatically.

sadly AutoProxy does not work for me.

Problem description: internet not working - all apps

Phone make/model: HTC Desire, rooted, Rom: IncertCoin 1.0.5

Android version: 2.3.3

Version of the app you're running: 0.24

Error messages:

Failed to start proxy.sh (13069..... log.c:120 log_preopen(...) log_preopen(file:/data/data/net.moronigranja.tproxy/files/../cache/redsocks.log,...): No such file or directory)

redsocks.log and tproxy.log do not exist in the given directory ( like the error message says)

Any suggesteions?

Thanks!
[Android Apps and Games] bringonblink:
would there be any benefit from running the latest iptables? I believe it is 1.4.11

iptables link
[Android Apps and Games] jdtanner:
Same here, but it appears that v0.2 does work. I think it might be because 0.24 isn't asking for Superuser permissions.

JT
[Android Apps and Games] Zuecho:
Another question: any plans to put autoproxy into market? Would be easier to update. Thanks!
[Android Apps and Games] Moronig:
Okay folks, sorry for the problem with the log in version 0.24, I din't test it enough.

Not to worry, I have fixed the issue in version 0.25, and added a limit to the log files (1mb).

I have also created a test script, to make sure that it doesn't happen again, thanks for your patience!
[Android Apps and Games] Moronig:
Craig, I was not limiting the cache, since the system can delete the cache if low on space, or the user can clear it manually. But since you bring it up, and it's really not necessary to have a big cache, I've limited it to 1mb in the last version. Your issue is also fixed, I assumed android would create the file automatically for me, and didn't test it through.
[Android Apps and Games] Moronig:
Zuecho,

to answer your first question, I made a mistake when I moved the logs to the cache folder, and that's why it won't start with logging turned on. I have fixed that terrible problem in the last version (0.25), my apologies.

As for the market, I do plan to put it there soon. Also on the amazon app market, and slideME.
[Android Apps and Games] autoprime:
thanks for this. this is amazing :D
[Android Apps and Games] ValerieAnne:
Would really love to try this, so think I will.

Will it allow me to have a UK IP (as in change my US IP/Make a UK IP connection)?
[Android Apps and Games] Moronig:
Funnily enough, I had never tried this. However, I just tested it now, and it works! I found a list of free proxies on google, and tried a socks 5 proxy, worked fine.

A disclaimer is in order, I think:

Keep in mind Autoproxy was not designed for the purpose of avoiding restrictions imposed by your mom/country/isp or anyone. You may do so at your own risk!
[Android Apps and Games] XZQ't:
FYI,

In order to use GTalk.

You need to use eBuddy instead. I successfully connected to Gtalk with eBuddy and AutoProxy. versio 0.2.4.
[Android Apps and Games] egamifx:
Hello,

Can I use this program to connect using BBC iPlayer, since it says that it can only be used by people in the UK and it won't play the video?

Thanks,
[Android Apps and Games] bringonblink:
Iplayer works for me
[Android Apps and Games] ValerieAnne:
I figured out my problem. :)

I just forgot to configure it lol
[Android Apps and Games] ValerieAnne:
I got everything set up and online, but now it's saying Device not supported? I downgraded my Flash since it says on the site it supports 10.1 and I'm still getting told device not supported. :( I must also say that I have a UK IP.

Device: Samsung Vibrant

ROM: Team Whiskey NextGen 1

FIRMWARE: 2.2

KERNAL: 2.6.32.9

ADOBE FLASH: 10.1

In other news though, it works awesomely, it's quite fast and I'm using it over wi-fi, which could be why. lol.
[Android Apps and Games] bringonblink:
Hey any work aroudn for me to get google music working with this?
[Android Apps and Games] Fixup:
Thank you for this great app, works well on my Galaxy Tab. I'd like to request a feature: selecting which port(s) to go through proxy, like Asproxy. In my case I only need port 80 and I don't need/want 443 to be redirected.
[Android Apps and Games] Moronig:
Hey Fixup, thanks for the feedback. That is a good suggestion, and I plan to add that feature soon. It will most likely come out on 0.3, which is to say, as soon as my tests are over :p
[Android Apps and Games] Fixup:
Great! I also would like to see it stay on the notification area even while not connected. No rush, this app is already too good to be true.
[Android Apps and Games] Moronig:
Just curious, why do you want it to always stay on the notification area?
[Android Apps and Games] Fixup:
Because the proxy server changes its port # every 10 hours or so; so I have to update often this # in Auto Proxy. Right now I have to close Auto Proxy after I changed this #, then start it from the home to make the changes effective. If you add a button like "restart" or "activate the changes", that'll be ideal.