TL;DR — Quick Summary

Configure proxy settings on iPhone and iPad: manual HTTP proxy, auto proxy (PAC), Charles Proxy for debugging, VPN alternatives, and corporate proxy configuration with MDM profiles.

Configuring a Proxy Server on iPhone / iPad

Proxy servers on iOS route your HTTP/HTTPS traffic through an intermediary server before reaching the internet. This guide covers manual proxy setup, auto proxy configuration (PAC), and common use cases for development debugging.


Manual Proxy Configuration

Steps

  1. Open Settings → Wi-Fi.
  2. Tap the (i) icon next to your connected network.
  3. Scroll to HTTP Proxy (at the bottom).
  4. Select Manual.
  5. Enter:
    • Server: Your proxy IP or hostname (e.g., 192.168.1.100 or proxy.company.com)
    • Port: Proxy port (e.g., 8080, 3128, 8888)
    • Authentication: Toggle ON if the proxy requires credentials

Note: This setting only applies to the selected Wi-Fi network. Each Wi-Fi network has its own proxy configuration. Cellular data is NOT affected.


Auto Proxy Configuration (PAC)

For corporate environments, you can use a PAC (Proxy Auto-Configuration) file:

  1. In the HTTP Proxy section, select Automatic.
  2. Enter the PAC URL: http://proxy.company.com/proxy.pac
  3. iOS downloads the PAC file and applies proxy rules automatically.

Debugging with Charles Proxy

Charles Proxy is the most popular HTTP debugging proxy for iOS development:

  1. Install Charles Proxy on your Mac/PC.
  2. Start Charles — it listens on port 8888 by default.
  3. On your iPhone, set the proxy to your Mac’s IP and port 8888.
  4. Charles shows all HTTP/HTTPS traffic from your iOS device.

Enabling HTTPS Debugging

To inspect HTTPS traffic, you need to install Charles’ root certificate:

  1. On your iPhone, open Safari and go to chls.pro/ssl.
  2. Install the downloaded profile: Settings → General → VPN & Device Management.
  3. Trust the certificate: Settings → General → About → Certificate Trust Settings.

Security Warning: Only install proxy certificates from trusted sources. Remove debug certificates when finished to prevent MITM attacks.


Proxy vs. VPN on iOS

FeatureHTTP ProxyVPN
Traffic coveredHTTP/HTTPS onlyAll traffic
Works on cellular❌ (Wi-Fi only)
Encryption❌ (unless HTTPS)✅ Always encrypted
Configuration scopePer Wi-Fi networkSystem-wide
App bypassSome apps bypassCaptures all traffic
Best forDebugging, corporate proxyPrivacy, security

For full privacy protection on public Wi-Fi, use a VPN instead of a proxy.


MDM / Corporate Deployment

Enterprises can push proxy settings to managed iOS devices via MDM (Mobile Device Management) profiles:

  • Apple Configurator 2 — create a Wi-Fi profile with proxy settings built in
  • Jamf Pro / Microsoft Intune — deploy proxy PAC URLs automatically
  • Global HTTP Proxy — available via MDM supervised mode, applies to all Wi-Fi networks