Configure Local Proxy
Introduction
This guide explains how to configure your browser or operating system to route traffic through the local Squid proxy (default: http://127.0.0.1:3128). This is required to test the Aiceberg Guardian.
Note: The default Squid port is
3128. If you have changedSQUID_PORTin your.envor Docker configuration, please replace3128with your configured port in the instructions below.
Firefox (Recommended)
Firefox is the recommended browser for testing because it maintains its own independent certificate store and proxy settings. This allows you to test without modifying your global system configuration.
Trust the CA Certificate
Open Firefox Settings (
about:preferences).Search for Certificates -> View Certificates.
Go to the Authorities tab and click Import....
Select your generated CA certificate (e.g.,
certs/ca.crt).Check the box "Trust this CA to identify websites".
Click OK.
Configure Proxy Settings
In Firefox Settings, search for Network Settings and click Settings....
Select Manual proxy configuration.
HTTP Proxy:
127.0.0.1Port:
3128Important: Check the box "Also use this proxy for HTTPS".
Click OK.
Google Chrome
Chrome uses the system's certificate store (Keychain on macOS, Cert Store on Windows). You have two options for testing.
Option A: Isolated Instance (Script/CLI) - Recommended
You can launch a temporary, isolated instance of Chrome that uses the proxy without affecting your main browsing profile.
Via Helper Script (macOS/Linux):
./launch_chrome_proxy.shManual CLI Command (macOS):
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--user-data-dir="/tmp/chrome_proxy_test" \
--proxy-server="http://127.0.0.1:3128" \
--ignore-certificate-errors \
https://chatgpt.comNote: --ignore-certificate-errors is convenient but manually trusting the CA in the System Keychain provides a more realistic test of SSL interception.
Option B: System Proxy (OS Level)
If you prefer to use your main Chrome instance, you must configure the proxy at the Operating System level (see the Operating System Settings step) and trust the CA in your System Keychain.
Operating System Settings
Configuring the proxy here affects all applications that respect system proxy settings (Chrome, Safari, curl, etc.).
macOS
Open System Settings -> Network.
Select your active network interface (Wi-Fi or Ethernet).
Click Details... -> Proxies.
Enable Web Proxy (HTTP):
Server:
127.0.0.1Port:
3128
Enable Secure Web Proxy (HTTPS):
Server:
127.0.0.1Port:
3128
Click OK and Apply.
Windows
Open Settings -> Network & Internet -> Proxy.
Under Manual proxy setup, click Set up.
Toggle Use a proxy server to On.
Proxy IP address:
127.0.0.1Port:
3128Click Save.
Linux (GNOME)
Open Settings -> Network.
Click the Network Proxy gear icon.
Select Manual.
HTTP Proxy:
127.0.0.1Port3128HTTPS Proxy:
127.0.0.1Port3128Close the dialog.
Last updated