How to Set Up a Proxy on Android 15 (Wi-Fi, Mobile Data, and APN)

How to Set Up a Proxy on Android 15 (Wi-Fi, Mobile Data, and APN)

Android provides built-in proxy support for Wi-Fi connections and offers APN-level configuration for mobile data proxies. Whether you need to route traffic through a proxy for privacy, testing, or data collection, this guide covers every method available on Android 15 and earlier versions.

Setting up a proxy on Android differs from desktop operating systems because mobile devices split their connectivity between Wi-Fi and cellular data, each requiring a different configuration approach.

Why Use a Proxy on Android

Common reasons for configuring a proxy on an Android device include:

  • App testing — Developers can test mobile apps through different IP addresses and regions
  • Privacy — Hide your real IP address when browsing on public networks
  • Geo-restricted content — Access content locked to specific regions
  • Network debugging — Inspect app traffic using tools like Charles Proxy or Fiddler
  • Account management — Operate accounts with location-appropriate IP addresses

For a thorough explanation of how proxies work, read our article on what a mobile proxy is.

Method 1: Configure a Proxy on Android via Wi-Fi Settings

This is the most straightforward method. Android lets you assign a proxy to each Wi-Fi network individually.

Step 1: Open Wi-Fi Settings

  1. Open the Settings app.
  2. Tap Network & internet (or Connections on Samsung devices).
  3. Tap Wi-Fi.

Step 2: Modify the Network

  1. Long-press on the Wi-Fi network you are connected to.
  2. Tap Modify network (or tap the gear icon on some devices).
  3. Tap Advanced options to expand additional settings.

On Android 15 and newer Samsung devices:

  1. Tap the gear icon next to your connected network.
  2. Tap View more or scroll down to find Proxy.

Step 3: Configure the Proxy

  1. Under Proxy, change the dropdown from None to Manual.
  2. Enter the following:
  • Proxy hostname: Your proxy server address (e.g., proxy.example.com)
  • Proxy port: The port number (e.g., 8080)
  • Bypass proxy for: Comma-separated list of hosts to exclude (e.g., localhost,127.0.0.1)

Step 4: Handle Authentication

Android’s built-in Wi-Fi proxy settings do not have dedicated username/password fields. If your proxy requires authentication, you have two options:

Option A: Your browser will prompt for credentials when you first connect through the proxy.

Option B: Use a proxy app that supports authentication (covered in Method 3).

Step 5: Save and Verify

  1. Tap Save.
  2. Open Chrome and visit whatismyipaddress.com to confirm the proxy is active.

Method 2: Configure a Proxy via APN Settings (Mobile Data)

To proxy mobile data traffic, you need to configure the Access Point Name (APN) settings.

Step 1: Open APN Settings

  1. Go to Settings > Network & internet > SIMs (or Mobile networks).
  2. Select your SIM card.
  3. Tap Access Point Names (APNs).

Step 2: Edit or Create an APN

  1. Tap the + icon to create a new APN, or tap your current APN to edit it.
  2. Fill in the required fields:
  • Name: Give it a descriptive name (e.g., My Carrier with Proxy)
  • APN: Keep your carrier’s default APN value
  • Proxy: Enter your proxy server address
  • Port: Enter the proxy port
  • Username: Proxy username (if required)
  • Password: Proxy password (if required)

Step 3: Save and Activate

  1. Tap the three-dot menu and select Save.
  2. Select the new APN as your active access point.
  3. Toggle airplane mode on and off to force the device to reconnect.

Important Notes About APN Proxies

  • APN proxy settings affect all mobile data traffic, not just browser traffic.
  • Modifying APN settings incorrectly can break your mobile data connection. Note down the original settings before making changes.
  • Some carriers lock APN settings. If you cannot edit them, your carrier may have restricted this feature.

Method 3: Use a Third-Party Proxy App

Third-party apps provide the most flexible proxy configuration on Android, supporting SOCKS5, authentication, per-app proxy routing, and more.

Recommended Apps

Drony (Free)

  1. Install Drony from the Google Play Store.
  2. Open the app and select your network (Wi-Fi or Mobile).
  3. Tap the network name and configure:
  • Proxy type: HTTP or SOCKS5
  • Hostname: Your proxy server address
  • Port: Your proxy port
  • Username/Password: If required
  1. Set Filter default value to Direct All or Allow All depending on your needs.
  2. Tap the power button in the app to activate.

ProxyDroid (Requires Root)

  1. Install ProxyDroid.
  2. Configure the proxy host, port, and proxy type.
  3. Enable per-app proxy routing if desired.
  4. Toggle the proxy on.

SocksDroid (Free, No Root)

  1. Install from the Play Store.
  2. Enter SOCKS5 proxy details (server, port, username, password).
  3. Tap Start to create a local VPN that routes traffic through the SOCKS5 proxy.

Why Use Apps Over Built-In Settings

  • Built-in Wi-Fi proxy settings do not support SOCKS5
  • Built-in settings lack username/password fields
  • Apps can proxy both Wi-Fi and mobile data
  • Apps offer per-app proxy routing
  • Apps support proxy chaining

Method 4: Configure a Proxy for Android Development (ADB)

If you are a developer testing on an emulator or connected device, you can set proxy settings via ADB:

Set Proxy

adb shell settings put global http_proxy proxy.example.com:8080

Set Proxy with Authentication

adb shell settings put global http_proxy username:password@proxy.example.com:8080

Remove Proxy

adb shell settings put global http_proxy :0

Verify Current Proxy

adb shell settings get global http_proxy

This method is particularly useful for automated testing workflows where you need to switch proxies programmatically.

Setting Up a Debugging Proxy (Charles Proxy / Fiddler)

For mobile app development, routing Android traffic through a debugging proxy on your computer lets you inspect requests and responses.

Step 1: Prepare Your Computer

  1. Install Charles Proxy or Fiddler on your computer.
  2. Note your computer’s local IP address (e.g., 192.168.1.100).
  3. Ensure the proxy is listening (Charles uses port 8888 by default).

Step 2: Configure Android

  1. Connect your Android device to the same Wi-Fi network as your computer.
  2. Follow Method 1 to set a manual proxy with:
  • Hostname: Your computer’s local IP (e.g., 192.168.1.100)
  • Port: 8888

Step 3: Install SSL Certificate

To decrypt HTTPS traffic:

  1. Open Chrome on your Android device.
  2. Navigate to the certificate URL:
  • Charles: chls.pro/ssl
  • mitmproxy: mitm.it
  1. Download and install the certificate.
  2. Go to Settings > Security > Encryption & credentials > Install a certificate > CA certificate.
  3. Select the downloaded certificate file.

Step 4: Trust the Certificate

On Android 7 and later, you also need to configure your app to trust user certificates by adding a network security config to the app’s AndroidManifest.xml during development.

Troubleshooting Android Proxy Issues

Proxy Not Working on Wi-Fi

  1. Reconnect to Wi-Fi — Disconnect and reconnect to force the proxy settings to apply.
  2. Check the proxy address — Ensure there are no typos in the hostname or port.
  3. Test the proxy — Verify the proxy server is reachable from another device.
  4. Restart the device — Some proxy changes require a reboot to take effect.

APN Proxy Not Working

  1. Reboot after changes — APN changes often require a device restart.
  2. Toggle airplane mode — This forces the device to re-establish the cellular connection.
  3. Check carrier restrictions — Some carriers do not allow custom APN settings.
  4. Verify APN values — Ensure you did not accidentally change other APN fields.

Slow Connection Through Proxy

The quality of your proxy significantly impacts connection speed. Free and shared proxies are often congested. For reliable, high-speed connections, consider a premium mobile proxy service designed for professional use.

Apps Not Using the Proxy

Some Android apps use custom networking libraries that bypass the system proxy. In these cases, use a VPN-based proxy app (like Drony or SocksDroid) that intercepts traffic at the VPN layer.

Best Practices

  1. Document your original APN settings before making any changes to mobile data configuration.
  2. Use a proxy app instead of built-in settings if you need SOCKS5 support or authentication.
  3. Disable the proxy when you are done to avoid connection issues if the proxy goes offline.
  4. Test with multiple apps — Not all apps respect the system proxy setting.
  5. Check your IP regularly to ensure traffic is routing through the proxy as expected.

For deeper understanding of proxy terminology used in this guide, refer to our proxy glossary.

Conclusion

Android offers built-in proxy support for Wi-Fi connections and APN-level configuration for mobile data, but third-party apps provide the most complete proxy experience with SOCKS5 support, authentication, and per-app routing. Developers can also leverage ADB commands for automated proxy management during testing. Choose the method that best fits your use case, and always verify your configuration by checking your visible IP address.


Related Reading

Scroll to Top