Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
7
votes
2
answers
4313
views
How to set http proxy filter?
I have an http proxy, which works OK, but there are some address on my lan which provides some web services. I want to configure my device so that for some range of addresses the proxy is bypassed. I have tried with 10.0.0.0/8, but it doesn't work!
I have an http proxy, which works OK, but there are some address on my lan which provides some web services.
I want to configure my device so that for some range of addresses the proxy is bypassed.
I have tried with 10.0.0.0/8, but it doesn't work!
michelemarcon
(2683 rep)
Feb 28, 2012, 08:22 AM
• Last activity: Jun 18, 2025, 09:04 AM
1
votes
1
answers
146
views
Use SSH tunnel along with a proxy
I have installed "Termux" app on my Android device. I can this use this command on Termux app to create a Socks 5 tunnel to my remote VPS on port `1080`: ``` ssh -D 1080 user@22.15x.20y.150 ``` Then I use "Exclave" app to proxy my Android device through that port. But as soon as I activate the conne...
I have installed "Termux" app on my Android device. I can this use this command on Termux app to create a Socks 5 tunnel to my remote VPS on port
1080
:
ssh -D 1080 user@22.15x.20y.150
Then I use "Exclave" app to proxy my Android device through that port.
But as soon as I activate the connection on Exclave app, the ssh
connection on Termux app is terminated. Consequently the Exclave app cannot connect the Android device through the ssh
tunnel to the Internet.
I'm not sure, but it looks like a cycle problem or loop problem to me.
So far, I couldn't find a way to modify Exclave app to exclude the ssh
Socks 5 connection from the proxy.
What are the solutions to this problem?
I'm open to any solution that might possibly solve my original problem. Thanks.
Megidd
(242 rep)
May 18, 2025, 07:01 AM
• Last activity: May 18, 2025, 07:26 AM
19
votes
5
answers
77044
views
How to use your Android phone as a proxy server?
I wanted to use my Android phone as a proxy server, meaning that I wanted to be able to use the IP on the phone as a proxy, so all requests and responses are received on the phone and forwarded back to the original requestor. How do I do this?
I wanted to use my Android phone as a proxy server, meaning that I wanted to be able to use the IP on the phone as a proxy, so all requests and responses are received on the phone and forwarded back to the original requestor.
How do I do this?
adit
(291 rep)
Mar 1, 2016, 11:21 AM
• Last activity: Apr 29, 2025, 09:35 AM
2
votes
1
answers
4741
views
Force proxy to be used by all of my Android applications
I'm looking to force some applications on my phone to use a proxy whose certificate is installed on my phone. Some applications (like Instagram, YouTube, etc.) are using this proxy and I can sniff the communication between my phone and the proxy. To make this work, I need to use root permissions on...
I'm looking to force some applications on my phone to use a proxy whose certificate is installed on my phone. Some applications (like Instagram, YouTube, etc.) are using this proxy and I can sniff the communication between my phone and the proxy.
To make this work, I need to use root permissions on my Android. I found an [app](https://play.google.com/store/apps/details?id=org.proxydroidn) that may help me do this, but I want to use the terminal to achieve this.
Any ideas that could help me would be appreciated.
yosra
(121 rep)
May 24, 2019, 08:52 AM
• Last activity: Mar 15, 2025, 08:01 PM
0
votes
3
answers
3421
views
Sony Xperia Tablet Z can't setup proxy
When I'm on my tablet, I go to my wifi network, tap and hold on it, and I get a popup menu. I hit modify network, and get a popup for the wifi. I tap "show advanced options", and then change Proxy Settings from None -> Manual. The moment I do this the Save button grays out, and I can't click it. Eve...
When I'm on my tablet, I go to my wifi network, tap and hold on it, and I get a popup menu. I hit modify network, and get a popup for the wifi.
I tap "show advanced options", and then change Proxy Settings from None -> Manual.
The moment I do this the Save button grays out, and I can't click it.
Even if I fill in the proxy hostname and port, the save button remains grayed out.
Do I need root? Sorry if this is fairly obvious, I just found nothing online.
Overcode
(101 rep)
Mar 2, 2014, 06:17 AM
• Last activity: Mar 3, 2025, 02:02 PM
7
votes
3
answers
11297
views
A way to quickly toggle proxy settings on non-rooted Android phones?
I am on a WiFi network in China and occasionally wish to connect to an HTTP proxy I have set up on a shared computer to bypass the Great Firewall. As my computer isn't always on/with me, I wish to easily switch on and off the proxy settings. Unfortunately: System settings/WiFi: When setting proxy se...
I am on a WiFi network in China and occasionally wish to connect to an HTTP proxy I have set up on a shared computer to bypass the Great Firewall.
As my computer isn't always on/with me, I wish to easily switch on and off the proxy settings.
Unfortunately:
System settings/WiFi: When setting proxy settings to manual, old settings are removed. Have to re-enter, which is annoying. Also hard to access.
Many apps (e.g. ProxyDroid) I've seen require root for some reason and do not work on a non-rooted device.
Is there a simple way to toggle proxy settings for the current WiFi AP?
UsAaR33
(173 rep)
Dec 25, 2013, 01:41 AM
• Last activity: Jan 22, 2025, 03:21 PM
1
votes
0
answers
128
views
How to set http_proxy per user profile
The command: settings put global http_proxy ip : port Affects all user profile. Based on this [answer][1] looks like this proxy setting is stored at: /data/system/users/ /settings_global.xml I wonder if is possible somehow to specify the `http_proy` per user. Something like: user0 http_proxy ip1:por...
The command:
settings put global http_proxy ip : port
Affects all user profile.
Based on this answer looks like this proxy setting is stored at:
/data/system/users//settings_global.xml
I wonder if is possible somehow to specify the
http_proy
per user.
Something like:
user0 http_proxy ip1:port
user1 http_proxy ip2:port
user2 http_proxy ip3:port
etc
What I'm trying to achieve is find a way to have a same application running in different profiles to have different ip's.
user 0 apk "abc" ip 1
user 1 apk "abc" ip 2
user 2 apk "abc" ip 3
I'm using Android12, and I have root access.
Ruan Sebastian
(11 rep)
Jan 1, 2025, 04:31 PM
• Last activity: Jan 4, 2025, 02:14 AM
0
votes
0
answers
94
views
Installing SSL + HTTPS using a reverse proxy like caddy on Android to enable secure connections for my server Emby
I want to install a reverse proxy useful because I want to put online my emby server on top of Android 14 using https on port 8920. I have fixed the 443 error in this way : sudo setcap CAP_NET_BIND_SERVICE=+eip $(which caddy) solution taken from here : https://serverfault.com/questions/807883/caddy-...
I want to install a reverse proxy useful because I want to put online my emby server on top of Android 14 using https on port 8920.
I have fixed the 443 error in this way :
sudo setcap CAP_NET_BIND_SERVICE=+eip $(which caddy)
solution taken from here :
https://serverfault.com/questions/807883/caddy-listen-tcp-443-bind-permission-denied
and I removed the parameter
“–disable-redirects”
from the Caddyfile.
now I run caddy with this command :
/data $ sudo caddy run -c /data/Caddyfile
the situation seems to be better,but caddy seems to does still run for some reason,but I don’t understand why :
https://ibb.co/r6jw9Ss
https://ibb.co/LrmDBy1
I don’t see errors,it should work,but when I open my website,at address :
https://ziomario.ns0.it:8920
it says : unable to connect. why ?
In the emby control panel I see :
Lan Access = http://192.168.1.7:8096 (and it works)
Wan Access = https://ziomario.ns0.it:8920 (and it does not work)
In Network settings I chosen :
LAN networks = empty
local IP address = empty
http local port = 8096
https local port = 8920
http public port = 8096
https public port = 8920
external domain = ziomario.ns0.it
secure connection mode = managed by the reverse proxy.
On my router I have opened ports : 8096,8920,443,80 in TCP and UDP mode…
If you want to read the full story,I've opened a thread here :
https://caddy.community/t/installing-ssl-https-using-a-reverse-proxy-like-caddy-on-android/25182
But it seems to be hard to be able to accomplish this task,so I took the decision to ask here,too,because I know that this place is full of qualified experts in every tech field.
PS : actually this is my Caddyfile :
nano /data/Caddyfile :
ziomario.ns0.it {
encode
reverse_proxy 192.168.1.7:8096
}
Marietto
(213 rep)
Aug 14, 2024, 03:26 PM
• Last activity: Aug 14, 2024, 03:40 PM
0
votes
0
answers
183
views
Company Samsung Galaxy - how to check if I have proxy or VPN enabled?
I have the company owned Samsung Galaxy. I probably have MDM software on my phone - I see I have Knox 3.3 version, TIMA 3.3.0 and there apps: "Knox Analytics Uploader, "Knox Enrollment Service", "KnoxVpnPacProcessor", "Enterprise Sim Pin Service", WlanTest, "MDMapp". It is likely that administrators...
I have the company owned Samsung Galaxy. I probably have MDM software on my phone - I see I have Knox 3.3 version, TIMA 3.3.0 and there apps: "Knox Analytics Uploader, "Knox Enrollment Service", "KnoxVpnPacProcessor", "Enterprise Sim Pin Service", WlanTest, "MDMapp". It is likely that administrators also use the Intune environment.
From what I've read, MDMs don't have the access to things like downloaded files or internet history unless they connect the user through a VPN or proxy, is this true?
In my case in the phone's settings under connections there's stance "No VPNs". Also there's "none" in proxy connection settings.
**My question is**, can I be signed up to a corporate proxy or VPN without knowing it (not having the infomation about it in the phone settings I mentioned)?
I would be very grateful for information from people who know about this. Thanks!
Witty-Resolve5797
(1 rep)
Jul 24, 2024, 01:28 PM
• Last activity: Jul 24, 2024, 02:03 PM
4
votes
2
answers
20080
views
How to send all internet traffic to a SOCKS5 proxy server in local network?
I got the inspiration [here][1]. It looks like AFWall+ is able to create a NAT forwarding policy to keep all traffic going through a SOCKS5 proxy and fool Google apps into thinking they are not connected via a VPN (Google apps implement additional security measures when connecting via `VPNService` a...
I got the inspiration here . It looks like AFWall+ is able to create a NAT forwarding policy to keep all traffic going through a SOCKS5 proxy and fool Google apps into thinking they are not connected via a VPN (Google apps implement additional security measures when connecting via
VPNService
and if you are in China you will not pass the security check - the security check requests don't go through VPN, so they will EOF because GFW will kill these requests, read more here ).
So my question is, if let's say I have a socks5 server running at 192.168.1.1:1088
which tunnels all connections via vmess
protocol (aka V2Ray
) to remote servers in the US, how do I create my custom script? I have tried:
IP6TABLES=/system/bin/ip6tables
IPTABLES=/system/bin/iptables
ULIMIT=/system/bin/ulimit
PORT=1088
SERVER=192.168.1.1
$ULIMIT -n 4096
$IP6TABLES -F
$IP6TABLES -A INPUT -j DROP
$IP6TABLES -A OUTPUT -j DROP
$IPTABLES -t nat -F OUTPUT
$IPTABLES -t nat -A OUTPUT -o lo -j RETURN
$IPTABLES -t nat -A OUTPUT -d 127.0.0.1 -j RETURN
$IPTABLES -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination $SERVER:$PORT
$IPTABLES -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination $SERVER:$PORT
$IPTABLES -t nat -A OUTPUT -p tcp -j DNAT --to-destination $SERVER:$PORT
$IPTABLES -t nat -A OUTPUT -p udp -j DNAT --to-destination $SERVER:$PORT
This does not work. So:
1. Did I create a wrong script? How do I create a script that does what I want to do?
2. Are there other settings that I should enable first? I didn't tick any app so I assume that means all app go through custom script, right?
Aero Windwalker
(1124 rep)
Feb 20, 2020, 02:35 AM
• Last activity: Jun 19, 2024, 05:43 AM
1
votes
1
answers
5211
views
How to install and run Tor with Snowflake client on Termux
Since the internet restrictions in Iran have become more severe as of October 2022, nowadays many Iranians are trying different methods to bypass censorship and connect to Telegram. For example, using various proxies and VPNs. So I'd like to encourage them to use Tor - one of the most advanced and s...
Since the internet restrictions in Iran have become more severe as of October 2022, nowadays many Iranians are trying different methods to bypass censorship and connect to Telegram.
For example, using various proxies and VPNs. So I'd like to encourage them to use Tor - one of the most advanced and secure online anonymity tools. But some of those people seem to gripe that
Tor doesn't work in Iran
or that Tor's connection is extremely slow
, humorously describing its speed as like a turtle with spinal cord injuries
.
So I was wondering if there is a way to install and use Tor with Snowflake client on Termux, the Linux Terminal Emulator, which is probably a light-weight app and can therefore be used instead of the official Tor Browser and Orbot apps to provide faster performance.
After the installation, I also want to set a proxy in my Telegram so that all the Telegram's traffic will be relayed through the Tor Network. So could you help me do so?
Javad Bayat
(111 rep)
May 5, 2023, 09:36 PM
• Last activity: May 20, 2024, 03:01 PM
1
votes
1
answers
225
views
VPN over proxy (global)
How to run VPN over (global) proxy on Android (with root and without)? The situation: VPN service app doesn't provide proxy functionality, but proxy is necessary.
How to run VPN over (global) proxy on Android (with root and without)?
The situation: VPN service app doesn't provide proxy functionality, but proxy is necessary.
agiAWjoa0za
(11 rep)
Apr 9, 2023, 10:36 AM
• Last activity: May 3, 2024, 08:37 AM
3
votes
1
answers
695
views
Rooted Samsung will Not Connect to Wireless Internet
I have a rooted Android Samsung S23 that I use for penetration testing with mobile apps. Frequently, I have encountered issues with connecting it to WiFi networks. When I attempt to login to a WiFi network from this phone, it will return the message "connected without internet". This issue is not ex...
I have a rooted Android Samsung S23 that I use for penetration testing with mobile apps. Frequently, I have encountered issues with connecting it to WiFi networks. When I attempt to login to a WiFi network from this phone, it will return the message "connected without internet". This issue is not exclusive to a single network such as at the office or at home.
I can connect this phone to the internet using my laptop as a proxy. To do this, I enable USB debugging in developer settings. Then within the WiFi settings, I setup a proxy with hostname "localhost" and port number 8080. I then connect the phone to my laptop via USB cable, and entering the command
Any help in resolving this issue would be greatly appreciated, as I am sure I am not the only person that has encountered this bug.
adb reverse 8080 8080
in my laptop terminal. When doing this, I have BurpSuite open and listening for connections to localhost:8080. I am able to intercept requests to applications on the phone this way.
This is the workaround I have been using so far, but it is very frustrating that I cannot find a fix for the WiFi. I have tried researching this problem but have not found anything helpful online. Changing the DNS settings does not work. I have also tried setting a static IP address for the phone. This does not work. The phone does not seem to be blocked in my router settings. Although for some reason it is listed under 'cable connected devices'. This is the only substantial clue I have.
Kristopher Price
(31 rep)
Feb 7, 2024, 01:50 PM
• Last activity: Feb 8, 2024, 04:14 PM
1
votes
1
answers
943
views
How to inspect any android app's HTTP/HTTPS request using Requestly.io?
Requestly.io currently allows to intersect the HTTP and HTTPS packets if requests are made from google chrome as the SSL certificates can not be installed for "VPN and App". How to inspect any android app's HTTP/HTTPS request using Requestly.io if the phone is running Android T (13)?
Requestly.io currently allows to intersect the HTTP and HTTPS packets if requests are made from google chrome as the SSL certificates can not be installed for "VPN and App".
How to inspect any android app's HTTP/HTTPS request using Requestly.io if the phone is running Android T (13)?
Chandan Singh
(13 rep)
Dec 12, 2023, 10:33 AM
• Last activity: Dec 12, 2023, 05:47 PM
0
votes
1
answers
1184
views
Sniffing SSL/TLS connections with BURP
I want to sniff SSL/TLS encrypted traffic of my installed apps using BURP. After installing the burp certificate on my One Plus 5T and moving certificates through the Magisk tweak "Move Certificates" there are still applications like mcdonalds that I can't sniff because tell me there isn't Internet...
I want to sniff SSL/TLS encrypted traffic of my installed apps using BURP.
After installing the burp certificate on my One Plus 5T and moving certificates through the Magisk tweak "Move Certificates" there are still applications like mcdonalds that I can't sniff because tell me there isn't Internet connections. I'm sure that Internet connections there is because another app like deliveroo work perfectly with burp.
I was wondering if there was a solution to this problem.
zenmorro
(3 rep)
Apr 9, 2019, 12:48 AM
• Last activity: Nov 18, 2023, 12:10 PM
0
votes
0
answers
560
views
How do I trust a certificate on android 11 device?
I want to setup this app called Http Toolkit and for some reason I have the warning "System Trust Disabled". My android 11 device is rooted using ksu . How do I trust a certificate on android device? [![ss][1]][1] [![ss2][2]][2] [1]: https://i.sstatic.net/uagUL.png [2]: https://i.sstatic.net/L8Cic.p...
I want to setup this app called Http Toolkit and for some reason I have the warning "System Trust Disabled". My android 11 device is rooted using ksu . How do I trust a certificate on android device?


Frk
(1 rep)
Nov 18, 2023, 06:37 AM
• Last activity: Nov 18, 2023, 12:09 PM
1
votes
1
answers
316
views
Redirect Android HTTP traffic through OpenVPN UDP connection
I have set up a server with OpenVPN and Squid, by making my computer connect to the server's OpenVPN (TUN interface UDP connection), we are in the same LAN network, and Squid on this server allows my computer to surf the internet by its proxy function, simply by setting computer's Chrome proxy to `1...
I have set up a server with OpenVPN and Squid, by making my computer connect to the server's OpenVPN (TUN interface UDP connection), we are in the same LAN network, and Squid on this server allows my computer to surf the internet by its proxy function, simply by setting computer's Chrome proxy to
10.200.0.1:3128
.
I have set up my Android phone with the OpenVPN client, it can connect to the server too (Although I can not ping Android IP - 10.200.0.2
from the server side, which is weird to me).
However, I see no Android app has the same proxy setting as what is in the computer's Chrome. All my HTTP traffic still goes through the WLAN interface rather than the TUN interface.
I am not sure if the OpenVPN Android client's proxy setting can help. I tried it, but the OpenVPN client prompted an error message:
> option_error: can not connect via TCP-based proxy because no tcp server entries exist in profile.
Does it mean I should use a TCP OpenVPN connection to fix this error? or should I find another way to redirect the HTTP traffic through VPN channel?
谢一鸣
(11 rep)
Sep 21, 2023, 05:46 AM
• Last activity: Sep 25, 2023, 05:34 AM
2
votes
0
answers
1950
views
Android phone as 4G proxy server
I am trying to turn my old phone (Xiaomi Mi 5) into a 4G proxy server which I can use with different apps for scraping data, etc. I have been searching on how to set it up and I found some articles, but they are not very clear. I am really a newbie and I have no idea how to set it up. I have bought...
I am trying to turn my old phone (Xiaomi Mi 5) into a 4G proxy server which I can use with different apps for scraping data, etc. I have been searching on how to set it up and I found some articles, but they are not very clear. I am really a newbie and I have no idea how to set it up. I have bought 2 Android apps: Proxy Server Pro and Servers Ultimate Pro having trouble configuring it.
These are the steps I have followed on Servers Ultimate Pro:
- Add a proxy server
- In the General tab, I didn't touch anything
- In the Rules tab, added a new rule
- HOST CONTAINS: I put my public IP address which I found at https://myip.com
- REPLY WITH THIS IP: 127.0.0.1 Port: 1080
Now, when I try to test it I, get no connection.
Marian Pepa
(121 rep)
Feb 19, 2021, 09:52 PM
• Last activity: Aug 18, 2023, 02:30 PM
6
votes
3
answers
14345
views
Why there's no proxy support in Android browsers?
Android supports both Chromium-based and Firefox-based browsers since long now. While those browsers have full support for HTTP/SOCKS proxies under all other OSes (Linux, OSX and even Windows), they are lacking it completely under Android. There's no setting at all to configure one. I can easily con...
Android supports both Chromium-based and Firefox-based browsers since long now.
While those browsers have full support for HTTP/SOCKS proxies under all other OSes (Linux, OSX and even Windows), they are lacking it completely under Android. There's no setting at all to configure one.
I can easily configure a SOCKSv5 proxy on my Android device with, say,
ssh -D
to be used over whatever connections I have (wifi, ethernet, mobile data...), but I cannot use it with my browsers.
There's some system-wide support when you configure wifi, but that's not what I talk about. **I mean the good ol' *application-level* proxy support**. I don't want to send **all** traffic through a proxy, but just that for a specific browser on demand.
For the curious, I am asking this because I need and can compare results on my landline Internet link, but I cannot do the same on my mobile one.
Please, **forget about VPNs** which are also system-wide solutions like wifi proxies. I need to configure a proxy on a *per-browser* basis, just like I can do on a PC, and not a VPN.
So, why this lack?
EnzoR
(222 rep)
May 28, 2018, 07:16 AM
• Last activity: Jul 13, 2023, 08:51 PM
1
votes
0
answers
2183
views
How to set Proxy Auto-Config for cellular data?
On the internet, I found the following instructions for simple proxy, but this does not work for proxy PAC: 1. Go to your Android System Settings & tap on Network & Internet. 2. Tap on Mobile network. 3. Tap on Advanced. 4. Tap on Access Point Names. 5. Tap on the APN you are currently using. 6. Ent...
On the internet, I found the following instructions for simple proxy, but this does not work for proxy PAC:
1. Go to your Android System Settings & tap on Network & Internet.
2. Tap on Mobile network.
3. Tap on Advanced.
4. Tap on Access Point Names.
5. Tap on the APN you are currently using.
6. Enter the IP address and port of the Proxy server you want to use.
7. Save the changes.
How to set Proxy Auto-Config for cellular data? I know it is possible to do that for Wi-Fi.
Note: solutions which use third party apps or a VPN are not suitable for me.
It can be different for different devices, but I need to know in general how I can do it.
Aleksandr
(11 rep)
Jun 12, 2023, 10:02 AM
• Last activity: Jun 13, 2023, 10:29 AM
Showing page 1 of 20 total questions