Sign in
Proxy

Set Up a Static Proxy on Your Phone and Check Background App Routing

Configure the proxy, set routing rules, and verify the public exit IP. Then test whether background apps connect directly when you switch networks, lock the screen, or lose the proxy connection.

4 min read
Set Up a Static Proxy on Your Phone and Check Background App Routing

1. Record your direct IP addresses, then add the proxy

  1. Turn off any active proxy and VPN. Connect to your work Wi-Fi, open the IP checker, and record your public IP address. Switch to mobile data and repeat. Use each address as the direct-connection baseline for that network, not the local IP shown in your phone’s Wi-Fi settings.
  2. Confirm the protocol, host, port, authentication method, and expected exit IP with your provider. The host is the server your phone connects to; its address may differ from the exit IP that websites see. “Static” means the agreed exit IP stays the same. Check your service terms to see whether that IP is exclusively yours; a single lookup cannot establish that.
  3. Add a proxy profile in a client that supports routing rules. Enter the settings supplied by your provider, keeping the username and password out of the host field. If the provider uses a source IP allowlist, check that your new public IP is allowed after you switch networks. If you use a username and password, check for stray spaces in the copied credentials. For SOCKS5, consult the protocol specification.
At a brass observatory, a globe mascot with a little orange house on its head fits a purple star-shaped key into the matching keyhole.

2. Define which traffic goes through the proxy

  1. To cover mobile data and background apps, use a client that can route system traffic and grant it permission to establish a tunnel. A manual proxy configured for one Wi-Fi network does not apply to every app. Before connecting, turn off any other client using the same tunnel.
  2. If the client supports per-app routing, assign your work apps and test browser to the static proxy. Allow other apps to connect directly as needed. If the client only supports domain rules, route your work service’s login, API, and file domains through the proxy, then add any necessary direct-connection exceptions. Check rule priority so a broad exception does not override a work rule.
  3. If work requests must never connect directly, send unmatched traffic through the proxy and disable direct fallback on proxy failure. Check whether the tunnel covers DNS queries, UDP traffic, and both IPv4 and IPv6. Block or disable unsupported traffic rather than assuming it follows the browser’s proxy settings.
A globe mascot adjusts a wooden gate in an orchard, sending green pears into a wicker basket and red apples down a separate chute.

3. Test the browser and background apps separately

  1. Enable the rules and reopen the IP checker in your test browser. Verify that the public IP exactly matches the expected exit IP. If you see a private or shared address, make sure you are reading the public exit IP field. Consult the IANA special-purpose IPv4 address registry to identify the address range.
  2. Open the proxy client’s connection log and note the time. In the work app, start a file sync whose completion you can verify, then immediately switch away and lock the screen. After unlocking, find the new connections by timestamp and check the app or domain, the rule it matched, and the proxy it used. An empty log is not a pass: first confirm that the sync actually ran.
  3. Leave the tunnel on, switch from Wi-Fi to mobile data, and repeat the IP check and background sync. Then temporarily change the proxy port to one that does not accept connections and send a fresh request. A request that is not allowed to connect directly should fail. Restore the original port and reconnect after the test.
A globe mascot lifts a theater curtain to check that two golden clockwork mice, one onstage and one backstage, are both following the blue line.

4. Troubleshoot and retest

SymptomWhat to check first
The browser shows the expected exit IP, but background traffic connects directlyCheck whether a separate sync component sent the request. Add that component or its domain to the proxy rules.
Logging stops when the screen locksCheck battery restrictions and tunnel status. Allow the client to run in the background. If the system supports it, enable an always-on tunnel and block connections when it disconnects, then repeat the lock-screen test.
Content still refreshes when the proxy is unavailableSend a new request to rule out cached content. Check for direct fallback, apps outside the tunnel, and IPv4 or IPv6 traffic that bypasses it.

Final checklist

  • Record the direct IP on both Wi-Fi and mobile data, and verify the proxy exit IP on each network.
  • Confirm which rule handled an actual background request; the browser result alone is not enough.
  • Test network switching and proxy failure, then restore the working proxy settings. Redact credentials from any saved configuration records.