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
- Open Settings → Wi-Fi.
- Tap the (i) icon next to your connected network.
- Scroll to HTTP Proxy (at the bottom).
- Select Manual.
- Enter:
- Server: Your proxy IP or hostname (e.g.,
192.168.1.100orproxy.company.com) - Port: Proxy port (e.g.,
8080,3128,8888) - Authentication: Toggle ON if the proxy requires credentials
- Server: Your proxy IP or hostname (e.g.,
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:
- In the HTTP Proxy section, select Automatic.
- Enter the PAC URL:
http://proxy.company.com/proxy.pac - 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:
- Install Charles Proxy on your Mac/PC.
- Start Charles — it listens on port 8888 by default.
- On your iPhone, set the proxy to your Mac’s IP and port
8888. - Charles shows all HTTP/HTTPS traffic from your iOS device.
Enabling HTTPS Debugging
To inspect HTTPS traffic, you need to install Charles’ root certificate:
- On your iPhone, open Safari and go to
chls.pro/ssl. - Install the downloaded profile: Settings → General → VPN & Device Management.
- 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
| Feature | HTTP Proxy | VPN |
|---|---|---|
| Traffic covered | HTTP/HTTPS only | All traffic |
| Works on cellular | ❌ (Wi-Fi only) | ✅ |
| Encryption | ❌ (unless HTTPS) | ✅ Always encrypted |
| Configuration scope | Per Wi-Fi network | System-wide |
| App bypass | Some apps bypass | Captures all traffic |
| Best for | Debugging, corporate proxy | Privacy, 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