Proxying
How Cheolsu Proxy routes traffic, and how to configure your system, browsers, and mobile devices to use it.
How Cheolsu Proxy Works
Cheolsu Proxy operates as a Man-In-The-Middle (MITM) proxy. It sits between your client applications (browsers, mobile apps, CLI tools) and the internet, intercepting and recording all HTTP and HTTPS traffic that passes through it.
The proxy supports two protocols:
- HTTP Proxy — The standard protocol for proxying HTTP and HTTPS (via CONNECT) traffic. This is what most browsers and operating systems expect.
- SOCKS Proxy — A lower-level protocol that can proxy any TCP traffic, not just HTTP. Useful for tools and applications that support SOCKS but not HTTP proxies.
By default, Cheolsu Proxy listens on port 8100. All traffic routed to this port is captured, inspected, and forwarded to its original destination.
System Proxy Auto-Configuration (macOS)
On macOS, Cheolsu Proxy can automatically configure your system's proxy settings so that all network traffic from all applications is routed through the proxy. This uses the networksetup command under the hood to set the system-wide HTTP and HTTPS proxy.
When you start the proxy:
- Cheolsu Proxy detects your active network interface
- It sets the system HTTP and HTTPS proxy to
127.0.0.1:8100 - All applications that respect system proxy settings (Safari, Chrome, most native apps) automatically route traffic through the proxy
When you stop the proxy, the system proxy settings are restored to their previous state.
Some applications (notably Firefox and many development tools) do not use the system proxy by default. See the sections below for how to configure them manually.
Manual Proxy Setup Per Browser
If you prefer not to use the system-wide proxy, or if you need to configure a specific browser, you can set up the proxy manually.
Chrome / Edge / Safari (macOS)
These browsers use the macOS system proxy settings. If the system proxy auto-configuration is active, no additional setup is needed.
To configure manually without the system proxy:
- Open System Settings > Network > your active connection > Details > Proxies
- Enable Web Proxy (HTTP) and Secure Web Proxy (HTTPS)
- Set the server to
127.0.0.1and port to8100
Firefox
Firefox has its own proxy settings, independent of the operating system:
- Open Firefox > Settings > General
- Scroll down to Network Settings and click Settings
- Select Manual proxy configuration
- Set HTTP Proxy to
127.0.0.1and Port to8100 - Check Also use this proxy for HTTPS
- Click OK
Command-Line Tools (curl, wget, etc.)
Set the standard proxy environment variables:
Or pass the proxy directly:
Changing the Proxy Port
If port 8100 conflicts with another service on your machine:
- Open Cheolsu Proxy Settings
- Go to Proxy Port
- Enter a new port number (e.g.,
8080,9000) - Restart the proxy for the change to take effect
Remember to update any manual proxy configurations to use the new port.
Upstream Proxy Configuration (Proxy Chaining)
In some environments — particularly corporate networks — your traffic already needs to pass through an existing proxy to reach the internet. Cheolsu Proxy supports proxy chaining, where it forwards traffic through an upstream proxy instead of connecting directly.
This means the traffic flow becomes:
To configure an upstream proxy:
- Open Cheolsu Proxy Settings
- Find the Upstream Proxy section
- Enter the upstream proxy address and port
- Save and restart the proxy
This is also useful when you want to chain Cheolsu Proxy with other debugging tools.
Daemon Architecture
Cheolsu Proxy uses a daemon architecture where the proxy engine runs as a background process, separate from the user interface. This design enables several important capabilities:
- Multiple clients, one daemon — The Desktop GUI, TUI, and MCP Server can all connect to the same running proxy daemon simultaneously. You can inspect traffic in the GUI while an AI assistant queries it through MCP.
- Interface independence — You can close the GUI and reopen it without interrupting the proxy. The daemon continues capturing traffic in the background.
- Stability — If a UI crashes, the proxy keeps running. No traffic is lost.
The daemon starts automatically when you launch any Cheolsu Proxy interface and stops when the last client disconnects (or when you explicitly stop it).
Mobile Device Proxy Setup
To capture traffic from a phone or tablet, route its traffic through Cheolsu Proxy running on your computer. Both devices must be on the same Wi-Fi network.
Step 1 — Find Your Computer's IP Address
On macOS:
Or go to System Settings > Network > your active connection — your IP address is shown there (e.g., 192.168.1.42).
Step 2 — Configure the Mobile Device
iOS
- Go to Settings > Wi-Fi
- Tap the (i) icon next to your connected network
- Scroll down to HTTP Proxy and select Manual
- Set Server to your computer's IP (e.g.,
192.168.1.42) - Set Port to
8100 - Tap Save
Android
- Go to Settings > Wi-Fi
- Long-press your connected network and select Modify Network
- Expand Advanced Options
- Set Proxy to Manual
- Set Proxy hostname to your computer's IP (e.g.,
192.168.1.42) - Set Proxy port to
8100 - Save
Step 3 — Install the CA Certificate
For HTTPS traffic inspection on mobile, you also need to install Cheolsu Proxy's CA certificate on the device. See SSL Certificates for detailed instructions for iOS and Android.
Verify the Connection
After configuring the mobile proxy and certificate:
- Open a browser on the mobile device
- Visit any website
- The traffic should appear in Cheolsu Proxy on your computer
If it does not work:
- Verify both devices are on the same Wi-Fi network
- Check that your computer's firewall allows incoming connections on port
8100 - Confirm the IP address is correct (it can change if your router uses DHCP)
Related Documentation
- SSL Certificates — Install and trust the CA certificate for HTTPS interception
- Installation — Download and initial setup
- Recording — Capture and inspect traffic
- Troubleshooting — Network and proxy connection issues
Next step: Start capturing and inspecting traffic with the Recording guide.
