Skip to content
1 GB of residential proxies, free. $0 today, card required.
Network-scoped proxy runbook

iPhone Proxy Settings: Wi-Fi Proxy Setup for iOS and iPad

Set up iPhone and iPad Wi-Fi proxy settings for Databay: Manual HTTP Proxy fields, why iOS has no SOCKS5 or cellular option, a Safari exit check, MDM payload keys and 407 fixes.

iPhone and iPad (iOS) → DatabayThe proxy belongs to one Wi-Fi network, not the device
iPhone and iPad (iOS)Mobile operating system
Databay gateway modesClient support is covered below
gw.databay.co:8888
By Databay Research Team10 min runbook

Operating principle

Set the HTTP proxy on the exact Wi-Fi network in use, keep Authentication on, and confirm the exit in Safari before any app relies on it.

How an iPhone or iPad Applies a Wi-Fi Proxy

On iPhone and iPad, a proxy belongs to one Wi-Fi network. Apple's user guides list HTTP Proxy, with DNS, among the settings of a joined network, reached from Wi-Fi and the network's Info button. Other Wi-Fi networks, a Personal Hotspot and cellular data do not inherit the entry.

It is an HTTP proxy setting with no SOCKS5 field. Databay's gateway, gw.databay.co on port 8888, serves HTTP proxying, HTTPS CONNECT tunnelling and SOCKS5 from one endpoint, and the Settings app uses its HTTP side. For an https:// page the gateway opens a CONNECT tunnel, so TLS still runs between the device and the site.

Use the route only for destinations you own or are permitted to test, such as your own mobile site, a staging API or an approved ad check, and follow each destination's terms. The proxy changes the network path a destination observes; it does not change the device's region, language, time zone or Location Services.

Map Databay Credentials to the iOS HTTP Proxy Fields

Copy each value from the Databay dashboard instead of rebuilding it from an example. The username carries the product, location and any sticky session, so a truncated username is a different request, not a typo the gateway can repair.

iOS controlDatabay valueWhat to verify
Configure ProxyManualNot Automatic unless a PAC flow was tested on this iOS version
Servergw.databay.coNo http:// prefix, path or trailing space
Port8888Digits only, not appended to the server
AuthenticationOnSwitched on before saving; otherwise the gateway answers 407
UsernameComplete dashboard username, such as USER-zone-residential-countryCode-usProduct, country and session segments match the order
PasswordDashboard proxy passwordNot the Wi-Fi or Apple Account password
Network          QA-Lab
Configure Proxy  Manual
Server           gw.databay.co
Port             8888
Authentication   On
Username         USER-zone-residential-countryCode-us
Password         PASS (from the dashboard)

Choose the product before copying the username. Premium Residential accepts one of country, state, city, ZIP, coordinate or ASN at a time; Residential Flex, Datacenter and Mobile accept a country or continent. A sticky session adds a segment, as in USER-zone-residential-countryCode-us-sessionId-abc123. Copy the exact form the dashboard shows rather than inventing segments for another pool, and compare the mobile proxy network with residential proxies before ordering.

Set Up the Proxy in Settings on iPhone or iPad

  1. Join the Wi-Fi network you will work on and confirm the checkmark sits on it. Apple notes that iPhone joins known networks automatically and uses cellular data when Wi-Fi isn't available.
  2. Open the Settings app, tap Wi-Fi, then tap the Info button next to that network.
  3. Scroll to HTTP Proxy and tap Configure Proxy.
  4. Choose Manual, then enter gw.databay.co in Server and 8888 in Port.
  5. Turn on Authentication and paste the complete username and password into Username and Password.
  6. Tap Save and run the Safari check below before opening any real destination.

Apple's guides, for iPhone and iPad alike, describe this step only as configuring HTTP Proxy and entering the details. The labels above are the ones recent releases display; if your build words one differently, match it by function: server, port, authentication switch, user name and password. When the work ends, set the proxy back to off on the same screen.

Manual Versus Automatic PAC Mode on iOS

The other mode, Automatic, takes the URL of a proxy auto-configuration (PAC) file. Apple's device-management reference draws the same line: the manual type carries a server, port and optional user name and password, while the automatic type takes a PAC URL, and its Global HTTP Proxy reference says the user name and password are ignored in automatic mode. A PAC file can name gw.databay.co:8888 but cannot hold the dashboard credentials the gateway expects, so expect a credential prompt or a 407 failure. Use Manual for Databay, and test any existing organizational PAC file on one non-sensitive page first.

What the iOS Proxy Setting Does Not Cover

SOCKS5. Settings has no SOCKS5 field, and Apple's Wi-Fi payload has no SOCKS key. On iPhone and iPad, SOCKS5 is an app feature: Apple's Network framework proxy configuration lets developers define a SOCKSv5 proxy inside their own app on iOS 17 and later. Use Databay's SOCKS5 endpoint only in an app whose documentation describes a SOCKS5 option, and verify that app separately. The HTTP versus SOCKS5 comparison covers the protocol differences.

Cellular data. The entry applies only to the Wi-Fi network you edited. Apple documents that Connectivity Assist, under Wi-Fi settings, uses cellular data along with Wi-Fi when Wi-Fi is weak or busy. Traffic sent over cellular does not use this entry, so turn Connectivity Assist off while verifying.

Every app. Safari follows the setting, and Apple's URLSessionConfiguration reference says sessions without their own proxy dictionary use the system settings. Apps with their own networking or proxy setting, traffic inside an active VPN, and UDP traffic can ignore the entry or fail; the gateway has no UDP path.

Background traffic. Traffic is billed per GB, and any app or service that honors the proxy on that network spends from the same plan. Apple's Low Data Mode switch on the network screen helps reduce that use.

Verify the Exit in Safari Before the Real Destination

  1. With the proxy off, open https://databay.com/what-is-my-ip in Safari and note the address as your direct baseline.
  2. Save the Manual entry and reload. Record the observed IP, country estimate, ASN, UTC time, network name and iOS version.
  3. Confirm the address differs from the baseline and the country matches the request. https://databay.com/what-is-my-ip/json gives the same observation as JSON, and https://api.ipify.org?format=json is a second observer.
  4. Only then open the authorized destination, and check each app the work depends on.

If iCloud Private Relay is active, Safari traffic can travel through Apple's relays and the page may report a relay address instead of your route. Apple's Private Relay network guidance explains turning it off for one network with the Limit IP Address Tracking switch on the same screen; record that state and disconnect any VPN. The What Is My IP tool reports an observed exit, not proof of anonymity.

Browsers open several connections and reuse them. A new proxy connection may select an available exit while a reused one may keep the current exit, so without a session segment two reloads can match or differ. For interactive work, use a sticky username and recheck at checkpoints. Sessions can be requested for up to 1440 minutes on Premium Residential and Residential Flex where available, or up to 120 minutes on Datacenter and Mobile. The IP can change before the window ends. Pools are shared, so a session is temporary continuity, not a reserved address.

Proxy Credential Prompts and Hygiene on iOS

If Authentication is off, the password is wrong or the username is truncated, the gateway replies with 407 Proxy Authentication Required. Safari may show a sign-in prompt for the proxy, while many apps only report a network error. Enter credentials only into a system prompt that names gw.databay.co, never into a web page, and fix the saved fields instead of answering each prompt.

Keep the password in a password manager or your organization's secret store. Never screenshot or screen-record the proxy screen, or paste the values into chat, tickets or logs. The username is sensitive too, since it identifies the account and its routing. Anyone with the unlocked device can open that screen, so remove the entry when the work ends and rotate the credential after any exposure.

Ready to run this for real?

Credentials appear in your dashboard in minutes, on the same gateway and username format this iPhone and iPad (iOS) guide uses.

Deliver the Proxy to Managed Devices With a Wi-Fi Payload

For managed fleets, Apple documents proxy keys in the Wi-Fi payload, com.apple.wifi.managed, delivered by a device-management service or a manually installed configuration profile. ProxyType accepts None, Manual or Auto; ProxyServer, ProxyServerPort, ProxyUsername and ProxyPassword carry the manual values; ProxyPACURL and ProxyPACFallbackAllowed serve the automatic type. Each payload describes one network, usually by SSID_STR, and a device can hold several.

<dict>
  <key>PayloadType</key>
  <string>com.apple.wifi.managed</string>
  <key>SSID_STR</key>
  <string>QA-Lab</string>
  <key>ProxyType</key>
  <string>Manual</string>
  <key>ProxyServer</key>
  <string>gw.databay.co</string>
  <key>ProxyServerPort</key>
  <integer>8888</integer>
  <key>ProxyUsername</key>
  <string>USER-zone-residential-countryCode-us</string>
  <key>ProxyPassword</key>
  <string>PASS</string>
  <!-- plus PayloadIdentifier, PayloadUUID, PayloadVersion and the network security keys -->
</dict>

A profile containing ProxyPassword is a credential file: deliver it through the management service, never by email or a repository. Apple's deployment guide warns that disabling captive network detection in this payload leaves users no opportunity to join networks that require agreements first, so do not enable that option for networks with a sign-in page.

When a supervised device needs one proxy for all HTTP traffic rather than one Wi-Fi network, Apple documents the Global HTTP Proxy payload, com.apple.proxy.http.global, limited to one per device; its ProxyCaptiveLoginAllowed key lets a captive network's login page load outside the proxy. Confirm field names in your management vendor's console.

Troubleshoot iOS Proxy Failures by Hop

Change one thing at a time and keep the failed observation. Decide which hop produced it: the Wi-Fi network, the proxy hop (connection, 407 authentication, CONNECT) or the destination hop (TLS, then HTTP status).

What you seeHop to inspectNext safe check
A guest network's sign-in page never appearsWi-Fi network, before the proxyTurn the proxy off, complete the sign-in, then restore Manual and recheck
Every page fails right after saving, with no promptProxy hop: resolving or reaching gw.databay.co:8888Re-check Server and Port, then test the credentials from a computer on that network
Repeated proxy sign-in prompts, or an app reports 407Proxy hop: authenticationTurn Authentication on and re-copy the full username and password
Pages load but the IP page shows the baselineRoute selection on the deviceConfirm the joined network, turn off Connectivity Assist and any VPN, and note Private Relay
Safari shows the Databay exit but an app does notApp networkingUse the app's own documented proxy option, or keep that app off this route
Country or city differs from the requestRouting request and geolocation dataCheck the country segment and product capability, then compare a second observer
Certificate warning on an HTTPS pageDestination TLS or interceptionStop; never continue past it or install a profile or root certificate to silence it
403, 429, CAPTCHA or an account challengeDestination policyStop and use the destination's supported process; another exit is not permission

To separate the device from the gateway, try the same credentials once from a computer on the same network. If that fails too, the cause is the network path or the credential, not iOS:

curl --proxy http://gw.databay.co:8888 \
  --proxy-user "$DATABAY_PROXY_USER:$DATABAY_PROXY_PASS" \
  --connect-timeout 5 --max-time 20 \
  https://databay.com/what-is-my-ip/json

Inject both variables from a secret store rather than shell history. The cURL proxy setup guide explains how to read 407 and CONNECT evidence in verbose output.

Troubleshooting desk

Questions specific to iPhone and iPad (iOS)

Does the iPhone Wi-Fi proxy setting also apply to cellular data?
No. The HTTP Proxy entry belongs to the Wi-Fi network you edited. Cellular data, other Wi-Fi networks and Personal Hotspots do not inherit it, and Connectivity Assist can carry traffic over cellular when Wi-Fi is weak. For supervised devices, Apple documents a Global HTTP Proxy payload that covers all HTTP traffic.
Can I enter a SOCKS5 proxy in iPhone or iPad settings?
No. Settings offers an HTTP proxy only, with no SOCKS5 field, and Apple's Wi-Fi payload has no SOCKS key. Enter Databay's gateway, gw.databay.co on port 8888, as the HTTP proxy. SOCKS5 works only inside an app that implements its own SOCKS5 proxy option.
Why does my iPhone keep asking for a proxy username and password?
The gateway is answering 407, usually because Authentication is off, the username is truncated or the password is wrong. Open the network's HTTP Proxy screen, turn Authentication on, and paste the complete dashboard username and password. Enter credentials only into a prompt that names gw.databay.co.
How can I tell whether my iPhone is actually using the proxy?
Open https://databay.com/what-is-my-ip in Safari with the proxy off, then on, and compare the observed address and country. Turn off Connectivity Assist and any VPN during the check, and note whether iCloud Private Relay is active for that network. The result is an observed exit, not proof of anonymity.
Do all iPhone apps use the Wi-Fi proxy?
Safari and apps that rely on Apple's standard URL loading use it by default. Apps with their own networking or proxy setting, traffic inside an active VPN, and UDP-based traffic can ignore it. Check each app that matters, and treat Safari's result as evidence for Safari only.
Will a proxy change my iPhone's location or region settings?
No. It changes the network path a destination observes. Region, language, time zone and Location Services stay as configured on the device. A countryCode segment requests an exit country, and the location a site infers still depends on its own geolocation data.
Adjacent runbooks

Same gateway, different control surface

  • cURL

    Command-line client

    curl -> proxy auth -> CONNECT or SOCKS -> approved destination

  • Python Requests

    HTTP client library

    Session -> HTTPAdapter policy -> proxy hop -> approved destination

  • Android

    Mobile operating system

    Wi-Fi network -> Manual or PAC proxy -> app 407 prompt -> observed exit

  • Google Chrome

    Desktop browser

    --user-data-dir -> --proxy-server -> proxy sign-in -> observed exit

  • Docker

    Container platform

    Compose secret -> app proxy client -> gw.databay.co:8888 -> observed exit

  • .NET HttpClient

    HTTP client library

    HttpClient -> SocketsHttpHandler.Proxy -> CONNECT or SOCKS5 -> observed exit

Pick the network once the route works. Residential for home-connection exits with state, city, ZIP and ASN targeting; datacenter for fast server IPs on public websites. Switching is one word in the username.

Residential →Datacenter →

Where teams run iPhone and iPad (iOS) behind the gateway: Proxies for mobile ad verification · Proxies for social media operations

Ship iPhone and iPad (iOS) to production

Create an account, drop in your gateway credentials, and route your first iPhone and iPad (iOS) request in minutes.

Pricing, order minimums, and traffic validity vary by product.