Explicit Proxy Configuration
Explicit proxy means manually entering the proxy IP and port in browser settings. Use this method for:
- Testing SafeSquid for the first time
- Single-user setups or controlled environments
- Quick validation without organization-wide rollout
Time to configure: ~2 minutes per browser
Use explicit proxy for initial testing. For production deployments, use PAC File or Enterprise Deployment instead.
Prerequisites
- SafeSquid IP address and port (default: 8080 for HTTP)
- SafeSquid must be running and accessible from the client network
- For system-wide Windows/macOS configuration: Administrator privileges
- For HTTPS sites: SSL Inspection configured (optional for initial testing)
Configuration Steps
Windows
For Chrome, Edge, and Internet Explorer (uses system proxy):
- Open Settings → Network & Internet → Proxy
- Toggle Use a proxy server to On
- Enter:
- Address: SafeSquid IP (e.g.,
192.168.1.100) - Port:
8080
- Address: SafeSquid IP (e.g.,
- (Optional) Add bypass list for internal sites:
- Click Edit under "Use a proxy server"
- Add:
*.local;*.company.com;localhost
- Click Save
Alternative method (Windows 7-10):
- Control Panel → Internet Options → Connections → LAN Settings
- Same settings as above
For Firefox (browser-specific settings):
- Open Firefox → Menu (☰) → Settings
- Scroll to Network Settings → Settings
- Select Manual proxy configuration
- Enter:
- HTTP Proxy: SafeSquid IP
- Port:
8080
- Check Also use this proxy for HTTPS
- Add No Proxy for:
localhost, 127.0.0.1, *.local - Click OK
Linux
GUI method (Ubuntu/GNOME):
- Settings → Network → Network Proxy
- Select Manual
- Enter:
- HTTP Proxy: SafeSquid IP, Port 8080
- HTTPS Proxy: SafeSquid IP, Port 8080
- Add Ignore Hosts:
localhost, 127.0.0.1, *.local - Click Apply system-wide
- Restart browser
Command-line method (works on all distros):
# Set environment variables (temporary, current session only)
export http_proxy=http://192.168.1.100:8080
export https_proxy=http://192.168.1.100:8080
export no_proxy=localhost,127.0.0.1,*.local
# Launch browser with proxy
google-chrome &
# or
firefox &
To make permanent (add to ~/.bashrc or ~/.profile):
echo 'export http_proxy=http://192.168.1.100:8080' >> ~/.bashrc
echo 'export https_proxy=http://192.168.1.100:8080' >> ~/.bashrc
echo 'export no_proxy=localhost,127.0.0.1,*.local' >> ~/.bashrc
source ~/.bashrc
Firefox on Linux: Same as Windows Firefox steps above.
macOS
For Safari, Chrome, and system-wide proxy:
- System Settings → Network
- Select your active connection (Wi-Fi or Ethernet)
- Click Details → Proxies
- Check Web Proxy (HTTP) and Secure Web Proxy (HTTPS)
- Enter:
- Web Proxy Server: SafeSquid IP:8080
- Secure Web Proxy Server: SafeSquid IP:8080
- Add Bypass proxy settings for these Hosts & Domains:
*.local, localhost, 127.0.0.1
- Click OK → Apply
- Restart browsers
For Firefox (browser-specific settings):
Same as Windows Firefox steps above.
Test Your Configuration
Immediate validation:
- Open the configured browser
- Navigate to
http://example.com - If it loads: Proxy is working ✅
- If it fails: See Troubleshooting below
Verify SafeSquid is receiving traffic:
# On the SafeSquid server:
tail -f /var/log/safesquid/access/extended.log
You should see your request logged with client IP, URL, and timestamp.
Access SafeSquid admin interface:
- Via proxy:
http://safesquid.cfg/(embedded Rest UI interface built into SafeSquid; accessible only when your client uses the proxy, but NOT resolved by SafeSquid's DNS resolver) - Direct:
https://SAFESQUID-IP:8443/
Until SSL Inspection is configured, HTTPS sites will show certificate warnings. This is expected—click through for now.
Troubleshooting
| Symptom | Likely Cause | Fix |
|---|---|---|
| "Proxy server refusing connections" | SafeSquid not running or firewall blocking | On SafeSquid server: systemctl status safesquid Test connectivity: telnet SAFESQUID-IP 8080 |
| Site loads but very slow | Network latency or SafeSquid overloaded | Check ping time: ping SAFESQUID-IP Check SafeSquid load: top on server |
| Bypass list not working | Syntax error in bypass list | Windows: Use semicolons ; macOS/Linux: Use commas , |
| Firefox ignores system proxy | Firefox uses own settings | Configure Firefox manually (see steps above) |
| "This site can't be reached" | Wrong IP or port | Verify SafeSquid IP and port 8080 in settings |
| HTTPS sites don't load at all | SSL inspection not configured | Either configure SSL inspection or disable HTTPS proxy temporarily |
Still not working?
-
Verify proxy settings are actually applied:
- Windows: Open Edge, type
edge://net-internals/#proxy - macOS:
scutil --proxy - Linux:
echo $http_proxy
- Windows: Open Edge, type
-
Check SafeSquid logs for errors:
tail -50 /var/log/safesquid/safesquid.log -
Test direct connectivity from command line:
# Test HTTP proxy
curl -I --proxy http://SAFESQUID-IP:8080 http://example.com
# Test HTTPS proxy (expect certificate error if SSL inspection not configured)
curl -I --proxy http://SAFESQUID-IP:8080 https://example.com
Next Steps
- Verify Your Setup — Run comprehensive tests to confirm proxy functionality
- SSL Inspection — Enable HTTPS decryption to inspect encrypted traffic
- Scale your deployment:
- Small team (10-100 users): PAC File
- Enterprise (100+ endpoints): Enterprise Deployment