How to Use proxy for all apps in android devices?

hey guys just want to know what is the difference between using proxydriod?
my android emulator under 4g proxy with proxydriod always gets blocked from ig.
using jarvee api that will be fine.
what is the difference between proxydriod?
Thanks, mate

Proxydroid is third part app and it is using IPTables to route the traffic I think.

1 Like

thanks mate,
just to remain all dont use proxydriod on ig .
it will 100% detect by IG~

1 Like

What about WEBRTC ? this protorol ovecame the proxy settings by sending packets to discover your router !

adb shell settings put global http_proxy ip:port
adb shell settings put global global_http_proxy_host ip
adb shell settings put global global_http_proxy_port port
adb shell settings put global global_http_proxy_username user
adb shell settings put global global_http_proxy_password pass

adb shell reboot

3 Likes

I have an question, ist the proxy setting the whole time aktive or just in one network?

Yes it will be active whole time until you disable the proxy manually woth the command. It will force all your traffic through the configured proxy. Please send me a PM if you want more help regarding this.

Hmm Okay then I will try College Proxy from an post above. Do u know if this needs a rooted phone?

No, College Proxy doesnā€™t require root permission because it uses VPN tunnel.

Hello sir, sorry if this has been asked multiple times.

is there a way to check if apps are using the ABD settings? iā€™m quite nooby to this and trying to learn.

i did exactly as stated above, but how do i make sure hte app is running through the http proxy instead of just my plain ip?

Check the settings are properly applied or not you can use below app. After applying the proxy by ADB commands just open this app and check if your IP is changed or not. Below is the link of that app on Play Store.

thanks a ton, im unsure as to why some apps decided not to work when i used socks5 with proxydroid, hopefully this wil work :slight_smile:
appreciate the help a lot

Hello, actually socks5 will not work with this method also. You need to use http/https

Yea i think i understood that, what i tried to do before was wocks5 with proxydroid, however some apps straight up somehow detected that i guess? jsut saying ā€œcouldent connect to the internetā€ and so on.

my reaserch told me if im using HTTP/HTTPS then itā€™s only going to affect the browser and not the apps.

thatā€™s why i was looking aroudn to see if there was a way to proxy the entire device/emulator with http/httpā€™s which i believe is what you ahve shown :slight_smile:

Yeah this method will force all your traffic through the proxy. So there will be no issues. If you have MITM you can check live logs on yiur system.

MITM? sorry im sadly so bad at all this stuff

i tried the above method browser is working but the apps are not working

Which Android version you are working on? Check IP in IP Geolocator App after applying the proxy. If that app shows IP from the proxy that means the config is working properly

I use oppo f17 Android 12 as you mentioned the method i tried it from adb method the browser is working fine but the apps showing no internet error and the proxy which I have is with user and password

Okā€¦ That is the issue actually. For USER:Pass authentication the commands are different. Wait I will send in DM.