yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Milraun:
Using the ip address works !

Inbetween I did a tcpdump and found the following lines:

17:02:16.667663 IP 10.20.3.151.44486 > 10.0.0.32.domain: 127+ A? URL-TO-BE-LOOKEDUP. (32)

17:02:16.872894 IP 10.0.0.32.domain > 10.20.3.151.44486: 127 ServFail 0/0/0 (32)

17:02:17.897216 IP 10.20.0.200.domain > 10.20.3.151.31546: 127 ServFail 0/0/0 (32)

17:02:17.897918 IP 10.20.0.200.domain > 10.20.3.151.1254: 127 ServFail 0/0/0 (32)

I'm not quiet shure, but I think this is the DNS lookup.

10.0.0.32 is our DHCP server so I'm a little bit confused.

10.20.0.200 is our internal DNS server that can't resolve external addresses.

It seems not to use the proxy to lookup addresses.

Is it possible to configure a different DNS when autoproxy is active ?

I had to change the URL in the log to URL-TO-BE-LOOKEDUP to be able to post

Thx

Milraun
[Android Apps and Games] Milraun:
Hi,

ok, the problem seems to be, that our internal DNS can't resolve external adresses. So I tried to use a static IP instead of DHCP and set the DNS to 8.8.8.8 manually. But this doesn't work either.

I think the problem is here, that DNS uses UDP Port 53 or TCP Port 53 which are not rediceted via the proxy.

Hope this helps.

Keep on running.

Milraun
[Android Apps and Games] iShane:
awesome, got it working at last.

Thank You

Shane
[Android Apps and Games] Dentxinho:
I guess You can't set an external DNS if your proxy denies it.
[Android Apps and Games] Milraun:
Hi,

as I wrote above I've tried to set an external DNS directly (static IP address). But that doesn't work.

I assume that is because DNS request uses Port 53 (first UDP than TCP) which is not redirected.

Thx

Milraun
[Android Apps and Games] Moronig:
Hi Milraun, you can try changing the dns setting manually after DHCP. Did you check that the DNS server it's giving you is the same on you computer?

Turn DHCP back on, connect and see if you can ping 8.8.8.8 (google's public DNS) first.

Then open a shell, get root permission (su) then run the following commands to change dns properties:

setprop dhcp.wlan0.dns1 8.8.8.8

setprop net.dns1 8.8.8.8

You can also do this: "getprop | grep dns" and change any properties that have a different ip address assigned to 8.8.8.8 with setprop, like above. Then open a new tab (don't try to reload an old one) and try to connect to google.com. Let me know how that works, I'm searching for a way to redirect DNS queries properly.

Alternatively, you can try OpenDNS, just use 208.67.222.222 instead of 8.8.8.8
[Android Apps and Games] Moronig:
Good thing you got it working, Shane. You had to install the iptables manually?
[Android Apps and Games] XZQ't:
Hi,

Finally it's work with my Galaxy S 2. Honestly, I don't know why it works, out of the blue. But after all, I'm glad I can use the internet.

If the problem comeback I'll report to you. Thanks for the wonderful piece of work.

Have a good day.

PS. I'm using version 0.22

Update :

I think I know why AutoProxy doesn't work for me in the first place.

My Galaxy S2 is connect to Wifi and assign IP by DHCP, however, PC in my company connect to LAN and use fix IP !

What happened is, DHCP assign my galaxy the SAME IP as one computer and Android never notify that kind of thing, IP conflict !

So now i can identify the actual root cause of my problem with AutoProxy. :)
[Android Apps and Games] Milraun:
Hello Moronig,

thanks for your efforts. But I think the problem is our restrictive firewall policy. We only can access the internet via a caching proxy (squid).

To really work around this you have to tunnel internet access (other than http, https) over http, for what you need tunneling servers outsind (like tor).

Thanks a lot,

Milraun
[Android Apps and Games] Dentxinho:
Do you mean that we can't use android wifi internet access on squid? :(
[Android Apps and Games] err404:
Doesn't work on Ideos with 2.2
[Android Apps and Games] htc_softbank:
I have a tethering question. I'm using autoproxy on my HTC Desire HD since my data plan is wap on port 80 only. Everything works great on the phone and I can surf the net and use most apps no problem.

The issue is tethering on my tablet. When I enable tethering with autoproxy turned on my tablet connects to the phone ok but it doesn't seem to work Internet wise.

I tried installing iptables and autoproxy on my tablet with my phones info with no luck.

Does anyone know how I can tether the tablet? Thanks!

WOOHOOO!!! I found out what was wrong on my own!!!! I posted the answer in case anyone else comes across this problem. :)

If anyone is trying to do the same thing I found the problem.

1) Install Autoproxy on the phone with the WAP proxy (Located in the APN).

2) Setup Autoproxy on the phone with that that APN.

3) Configure Autoproxy to auto enable when you use that APN.

4) Configure Autoproxy for when you enable tethering.

5) On your tablet, install Autoproxy.

6)On your tablet configure Autoproxy with the same proxy info as your WAP APN.

I originally did all this but the problem was that sometimes the tethering would not work even when I had it enabled. This would usually occur when the phone was in plane mode, turned off then tethering enabled. To get tethering to work again, I would have to reboot the phone.
[Android Apps and Games] Pitbull_Raven:
Having moved to a new device (currently on Galaxy S3 i9300) I was looking for a solution to use native gmail and talk apps through corporate proxy. Found AutoProxy Lite and am currently evaluating. Have some trouble and home someone can help me out.

In ICS, I connect to the wifi ap and leave it at default settings (don't set up proxy for the connection). Then I jump into AutoProxy and set up the proxy there. I press connect and get the message that I am connected. But neither web browser or apps work. None get connection to the internet. I disconnect in AP and go back to the wifi settings for ICS. Here I now change the connection and manually set the proxy data. If I now go to browser, I can connect after inputting the username and password which are then requested. If I go back to AP and reconnect, I still cannot get gmail and talk apps to work.

Suggestions?
[Android Apps and Games] noseph:
You do not need a Proxy app with ICS it is built in.

1. In Wi-FI Settings long press on your network connection

2, Select Modifiy network

3. Check Show advanced options

4. Set Proxy settings to Manual

5. Set Proxy hostname

6. Set Proxy port

7. Save

Enjoy.
[Android Apps and Games] yuanw:
hi, where is log file? I got a full screen error message while I tried to connect the proxy. then the message gone even I can't read one. I check "Save log to file" at setting but can't find the log file. It seems can start some .sh files.
[Android Apps and Games] Moronig:
The log file is located at /data/data/com.mgranja.autoproxy_lite/app_logs. If there is a problem starting the .sh files and you're rooted, I would guess it's something to do with your version of busybox. I believe there is an app to update it on the market.
[Android Apps and Games] leroadrunner:
This is not exactly true, running ICS on x86 and it is not working.

Infelizmente meu amigo brasileiro está sendo tipicamente latino em ser muito lento para corrigi-lo para x86. ;)
[Android Apps and Games] Behnoy:
hello sirs,

please help; i've been trying to google it for past 3 days and can't find solution

i'm getting this error when trying to connect manually with auto proxy:

Failed to start proxy.sh (file parsing error at line 19: boolean is not parsed

file parsing error at line 19: value can't be parsed

file parsing error at line 19: unclosed section)
[Android Apps and Games] jrredho:
Hey All,

I've read a fair majority of the posts on this thread, and I'm just realizing I may have been mistaken when I acquired this app: I want to use it to help me redirect all of my 'net traffic through an ssh tunnel, and *not* just be restricted to individual SOCKS-compliant apps that I have to configure one-by-one.

I think I've boiled it down to one question:

If I create an ssh tunnel to a given host (for me the access would be via the standard ssh port, 22), and specify the local (SOCKS) port be the default for Autoproxy, which looks to me from the log files to be 8123, and set up Autoproxy to the same host for various ports depending on the specific protocols I'd like to redirect, would it work?

Many thanks!

cheers,

john
[Android Apps and Games] Moronig:
Hi jrredho, sorry for taking so long to answer. Yes, it`s possible to use autoproxy like that. Just start the tunnel, then create a new socks proxy setting, and point it to localhost, to whatever port you open the tunnel on, on the phone (like 3128, don`t use 8123).
[Android Apps and Games] h2o113:
Hi,

I have a rooted Galaxy Nexus with Jelly Bean 4.1.2, and autoproxy 0.61.1 doesn't work.. it connect to server, but i cannot navigate with any app (only browser works)

I've setted a HTTP Proxy with authentication.

Is Jelly Bean supported by autoproxy?
[Android Apps and Games] chenjhcg:
x86 version

Vote for x86 as well. I'm also looking for x86 version after I find out that it doesn't run on BlueStacks. This should make Internet access possible on BlueStacks from behind company http proxy.
[Android Apps and Games] benpaddlejones:
You need to have iptables in the kernel. Install CyanogenMod 10 and it will work 100%
[Android Apps and Games] jovitos:
PAC problem

Hello,

I am trying 0.61 version (lite, but I can go for full if that will change something) and I can't get my PAC file to work. The file can be seen here:

library-proxy.web.cern.ch/proxy.pac

I set up a connection in autoproxy, select "PAC" as a type, put the address above into address field and when I click connect it flashes a message for a fraction of a second, too quick to read and does not connect... I have read this thread and I can see there were some issues with this, but I have not found a solution yet. Is it known?

Putting ip address instead of name in the address field does not help.

I can modify the pac above and put it on my server, just let me know what to change???

Cheers!
[Android Apps and Games] Barbaresk:
Help!

Hello! I have Samsung Galaxy Nexus and i have root. I installed Auto Proxy on my mobile and Charles on computer. What i must writting in proxy settings in Charles? What i must doing else? Thanks.
[Android Apps and Games] TSellers2:
I'm also have the same error in AutoProxy since installing Jellybean. In Gingerbread it worked with the same settings as in the APN for goam.com. I see: 'Failed to start proxy.sh .....'. Phone is rooted, Autproxy has Superuser permission, and IP tables are installed. I'm trying to get it to work in mobile mode for 3G so modifying network config under Wi-Fi is not the solution.
[Android Apps and Games] thrdstooge:
Will Autoproxy work for my phone?

Hey guys,

I have a few problems with my current phone and was wondering is Autoproxy is the way to go. I can't seem to find an answer to my problem anywhere.

Here's a run down of the problem I'm currently having. A few months ago I purchased a Dapeng A75 currently running ICS 4.0. Although a beautiful and fast phone, just recently it started going out of wack.

- Youtube and Play Store hang on "Loading" screen

- My Gmail accounts won't sync

- I can no longer search only on Google.com with ANY browser through WiFi yet it does work on every other site. Example, I can connect to BING just fine. (I do not have data service on my phone)

I've tried several attempts at troubleshooting this, all which have failed.

- I restored my phone to factory default.

- Uninstalled and reinstalled these apps.

- Downgraded the apps to previous versions.

- Cleared my cache on just about everything.

- Release and renewed my IP in Terminal.

Just recently I noticed a CWM recovery image posted and I figure this is the only solution. Wiping out the phone and flashing a fresh ROM but unfortunately I can only get as far as installing the drivers to my Windows 7 machine. Some reason when I plug the phone in after installing the drivers, Windows will prompt me that the device is plugged in but before I get a chance to hit F9 for SP Flash Tool to do it's thing, the device quickly disconnects so that solutions out the window.

NOTE: I am able to browse Google via WiFi only by using HotSpot Shield VPN (Which is problematic in itself).

I'm currently losing the battle with this phone and at my wits end. Is there anyone out there who is experiencing the same situation or has some sort of solution which doesn't involve be shelling out more money for a new phone? Is Autoproxy the right app for this issue or am I heading the wrong direction?
[Android Apps and Games] Moronig:
thrdstooge, could it be a problem with your wifi? Can you access google through 3G? How about on another wifi connection? I don't think Autoproxy will fix your problem, but you can give it a shot.
[Android Apps and Games] thrdstooge:
Will Autoproxy work for my phone?

I also have a Chinese Android phone currently running 2.3 and I have no problems browsing Google on any browser, using the Youtube, Play Store app or syncing to my gmail. All the wireless devices in my home can also access Google.com via wifi. The weird thing is once I launch Hotspot Shield VPN I can access Google.com from any browser on this ICS 4.0 phone. Although Hotspot Shield VPN sounds like a solution, it tends to bombard my phone with spam and regardless of the Google.com accessibility, my other Google functions and apps still won't work.

Unfortunately I don't have a data plan, just call and text so I don't have internet access through 3G. I have tested this phone on another wifi connection and still had the exact same issues so I'm pretty sure the issue has to be the phone itself.

It's one thing if these functions never worked out of the box but that's not the case. Everything was flawless when I started using it. Only recently has everything started failing one after another.
[Android Apps and Games] eortizr:
Not working on my Corporate Proxy, if I use the built-in settings in JB under WI-FI and select advance options, then I select 'Manual' Proxy and put the proxy ip and port 8080, it works but only for the browser and I do get a prompt for user and password as soon as I open the browser, once the user and password is set in the browser, I can browse without issues, but no app will connect to the internet. If I use Autoproxy and set the same information, proxy ip, port, user and password, it does not work, when I go to the browser I get no prompt for user nor Id and cant not load any page. any ideas?

Thanks
[Android Apps and Games] Anakha56:
[APP] Autoproxy for android http(s), socks, proxy.pac ntlm [02.Dez.11]

I would also like to say that the latest update killed my work proxy access. Luckily TB is set to keep 2 backups of all my apps and I could revert back to the previous build. Waiting for a updated fixed version.
[Android Apps and Games] mobisat:
Is this app still being developed/supported ?
[Android Apps and Games] Moronig:
Version 0.75 beta is out!

What`s new:

I ain`t dead!

Several bugfixes

Updated holo layout

Option to check if proxy is at specified address before connection

Expanded notification shows sent bytes through proxy (Android > 4.1)

option on notification to disconnect (Android > 4.1)

Lite version now auto-connects as well (no need to open app)

Get newest beta from XDA or directly from Play Store, must join G+ Community

Logs now saved to sdcard

Please report bugs, they will be fixed as soon as possible
[Android Apps and Games] jordanishere:
How could I use this app to give me a local new York ip address? My phone has an ip in the 200 range, but I want something in the 60's

Sent from my Xiaomi MI2S
[Android Apps and Games] RovG:
Damn! :eek: Glad to hear from you. :D Will do some testing next week, when back at work & feedback.
[Android Apps and Games] Moronig:
You need to connect to a proxy that is located in NY. Either have a friend or someone you know run a proxy for you on their computer, or find a commercially available one. Alternatively you might be able to find an open proxy using Google. Some websites keep lists of open proxies, though you might have to try a few before you find one that works. And in this case, your traffic wont be secure.

Thanks, glad to be back.
[Android Apps and Games] RovG:
Ok, so I did a little testing today and have some feedback. For today's test, authentication was disabled. Proxying is working but:

1. I couldn't find the log file. Checked internal sd, external sd and old location in /data/data...

2. PAC file did not work for me. I will send you a copy as soon as I get a chance.

3. I use AFWALL+ as my firewall but for the testing I disabled it. I would obviously like to use autoproxy without disabling AFW.

---------- Post added at 06:19 PM ---------- Previous post was at 06:17 PM ----------
[Android Apps and Games] Moronig:
Thanks for the feedback.

1. The logs should be in /sdcard/Android/data/com.mgranja.autoproxy_lite/cache. I'm planning on adding an option to see logs directly from the app without having to hunt the files down.

2. Yes, please send me the PAC file, and I'll try to find the problem.

3. What happens when you use AFWALL+ with Autoproxy? Does the proxy just not work? Or does it work, but then the firewall doesn't?

Also, any comments on the Status window with ads opening when the proxy autoconnects, even when you're not on the app? Did you find it too intrusive, or annoying?
[Android Apps and Games] Moronig:
245 downloads and nobody is complaining about the ads, I`ll begin staged rollouts on the play store.
[Android Apps and Games] Zephyr!:
Will it bypass blocked websites?
[Android Apps and Games] Moronig:
In most cases, yeah, though it will depend on your setup.
[Android Apps and Games] Zephyr!:
Setup as in ?

---------- Post added at 02:39 AM ---------- Previous post was at 02:38 AM ----------

I currently use hide ninja vpn to bypass blocked sites and download videos.
[Android Apps and Games] Moronig:
Depends whether the site is blocked in your country, or your company. You'd need to access a proxy in the country you want to look like you`re in, or outside your company, respectively. Access will work as if you were in your proxy`s location.
[Android Apps and Games] Zephyr!:
Site is blocked at my college.

In my country nothing is blocked ;)
[Android Apps and Games] Moronig:
So if you left a computer on at home running a proxy server, you could connect to it from your phone and enjoy unblocked access to any site.
[Android Apps and Games] RovG:
Hi Moronig,

Please check your PM.

I am the wrong person yo ask about ads as I am completely anti ads.

As soon as time permits I will feedback more on usage with AFWall.
[Android Apps and Games] emyoo:
hello to all

I have run the iptables check:

u0_a40@android:/ $ su

u0_a40@android:/ # iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to 8123

protoent* getprotobyname(char const*)(3) is not implemented on Android

u0_a40@android:/ # iptables -L -n -t nat

Chain PREROUTING (policy ACCEPT)

target prot opt source destination

oem_nat_pre all -- 0.0.0.0/0 0.0.0.0/0

Chain INPUT (policy ACCEPT)

target prot opt source destination

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8123

REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8123

REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8123

Chain POSTROUTING (policy ACCEPT)

target prot opt source destination

natctrl_nat_POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0

Chain natctrl_nat_POSTROUTING (1 references)

target prot opt source destination

Chain oem_nat_pre (1 references)

target prot opt source destination

u0_a40@android:/ #

u0_a40@android:/ #

Does this means that I'm OK!? because autoproxy has no effect whatsoever upon apps (market, maps etc) even if it says "CONNECTED".

Thank you!
[Android Apps and Games] ripnix:
i have the exact same problem

and i couldnt find one single app (ssh tunneling/socks) thats working over 3G network, as the APN has already a http proxy, so the tunnel must be created to run trough that proxy
[Android Apps and Games] dmenheere:
did the last update kill this app?? haven't had data since.

:(
[Android Apps and Games] jl6564:
.pac is not working ???

set to PAC type

and point the pac file to:

hxxp://yo.uku.im/proxy.pac

(pls change hxxp to http)

it return:

"Unfortunately,AutoProxy Lite has stopped."

btw, the same pac file works fine on apple's iphone/itouch/ipad
[Android Apps and Games] Moronig:
Will investigate. Did it work with any previous version of Autoproxy?
[Android Apps and Games] jl6564:
It never worked
[Android Apps and Games] RovG:
[MENTION=3259056]Moronig[/MENTION] Please check pm in connection with post #415. http://xdaforums.com/showthread.php?p=45585870
[Android Apps and Games] strifej:
Can DNS requests be proxied as well? I've posted in another thread on xda specifically about this issue using connectbox/proxydroid, but was wondering if you had different insight.

In China, youtube/facebook/etc are blocked. I have my own ssh server outside and everything is fine on my laptop as foxyproxy on firefox DOES forward dns requests through the proxy (whereas on Chrome they don't). On my phone, because DNS requests aren't, fb and such are still blocked.

I've manually set my DNS to googles/opendns/l3, but no luck still. SSHTunnel used to work fine on 4.2.2, but since 4.3/4.4, stopped working.

Thanks
[Android Apps and Games] Natanji:
I am trying to make this work with the pac of Media Hint, mediahint(DOT)com/default.pac

On connect, I see that it is downloading the PAC file, then very shortly some message which I think it is complaining about it not being valid (but really, it disappears way too quickly to read it), and then I am back at the start and still not connected.

In /sdcard/Android/data/com.mgranja.autoproxy_lite/cache, there is just nothing. The directory is empty even though I enabled logging from the menu.
[Android Apps and Games] david pro:
Is the app still under development???:confused:
[Android Apps and Games] benpaddlejones:
No, try proxydroid in the app store, they still work though. Hoping Android L will include proxy authication.
[Android Apps and Games] david pro:
Proxydroid sucks!!! Atleast for me!!! Autoproxy works. I'm using version 0.57!!! It has some bugs but otherwise it works fine!

---------- Post added at 11:49 AM ---------- Previous post was at 11:42 AM ----------

@Moronig If this app is is not under development anymore then you can release the source code so that other devs can continue to develop the app from where you left off!!!:highfive:
[Android Apps and Games] vikraminside:
Is "No Root firewall. VPN" works with same concept to intercept traffic?

I like the proxy idea very much. Only thing I would want proxy to add exceptions to allow route certain traffic to bypass.

Eg: Financial apps, if keyboard can log why not proxy? I have seen some proxy apps able to decrypt whatever goes through them no matter what SSL you use.

Haven't used this app, specific comments reserved.

God is great.
[Android Apps and Games] satya_461:
Not working on Android L. Can you please update the app for android L?? :(
[Android Apps and Games] Moronig:
I'm working on that actually, as I've just updated my nexus to Lollipop. But the way it handles handover from wifi to cellular is weird...
[Android Apps and Games] satya_461:
Good to know that you are updating the app. :svetius:

Eagerly waiting..

---------- Post added at 12:06 PM ---------- Previous post was at 11:28 AM ----------

On second thought, I think we can handle the switching of wifi to cellular later (incase the work to handle this is more).

For now, in such situation, we could say turn off the proxy and turn it on again (iptables clear & set again)
[Android Apps and Games] benpaddlejones:
Yes, my work is an authenticated proxy. My Nexus5 is stock with Android 4.4 will conect to wifi and disconnects from cellular but the wifi has no connectivity. With Android 5.0 seams to connect to both and I can now enter a pac file in wifi settings but I can't tell if wifi has connectivity and proxy is authenticated?

Ben