Skip to main content

Route One Host Through SafeSquid

System-wide proxy settings help validate how a workstation behaves when OS-aware applications use SafeSquid. This method is useful for controlled workstations, developer endpoints, and pilot hosts. It is not a substitute for enterprise policy enforcement unless settings are managed and protected.

Use this method when

Use system-wide proxy when:
  • You need more coverage than one browser setting.
  • The host is managed by the organization.
  • Applications honor operating system proxy settings.
  • You can roll back quickly if business apps fail.
Do not assume all applications will use these settings. Some tools need application-specific proxy configuration.

Validate prerequisites

Confirm:
  • Explicit proxy pilot passed.
  • Proxy IP, port, and bypass entries are approved.
  • User or device is in a pilot group.
  • Root CA rollout is ready before HTTPS inspection tests.
  • Rollback commands are documented.
  • WPAD auto-detection is disabled on the host, so discovery cannot override the manual setting.

Configure by operating system

Use approved endpoint management where possible. For a controlled pilot, set WinHTTP proxy from an elevated shell:
Verify:
Expected result: the proxy and bypass list match the approved pilot values.
Windows keeps two separate proxy stores. The netsh winhttp command above configures WinHTTP, used by services and by some background components. Browsers and most desktop applications read WinINET, configured through the Settings app, Internet Options, or the HKCU registry values below.Setting one does not set the other. A host configured only through netsh winhttp will show a correct proxy in netsh winhttp show proxy while Chrome and Edge continue to browse direct. For host-wide coverage, set both.
Settings app — Windows 10 and 11
  1. Settings → Network & Internet → Proxy.
  2. Turn Automatically detect settings off, which disables WPAD.
  3. Turn Use a proxy server on.
  4. Enter the SafeSquid address and port 8080, or the approved listener port.
  5. Under Edit, add the approved bypass entries, separated with semicolons (;).
  6. Select Save.
Confirm it applied by opening edge://net-internals/#proxy in Edge.Internet Options — all supported Windows versionsUse this path when the Settings app is restricted by policy, or when per-protocol values are needed.
  1. Control Panel → Internet Options → Connections → LAN Settings.
  2. Clear Automatically detect settings.
  3. Select Use a proxy server for your LAN and enter the address and port.
  4. Select Advanced for separate HTTP, HTTPS (Secure), and FTP entries. Leave SOCKS blank unless it is specifically required.
  5. Add the bypass list, semicolon-separated, then confirm each dialog.
Registry valuesThese are the underlying WinINET values, useful for automation or for confirming what a host actually has set. Under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings:Deploy these through Group Policy preferences rather than by hand where more than one machine is involved — see Enterprise Deployment.
Shell exports last only for the current session. Use one of these files when the pilot must survive a reboot, and record which one you changed so it can be reverted.All users on the host — edit /etc/environment:
One user only — append the same export lines to ~/.profile or ~/.bashrc, then source the file.Package managers do not read these variables. Configure them separately or updates fail while browsing works.APT (Debian, Ubuntu) — create /etc/apt/apt.conf.d/95proxies:
YUM or DNF (RHEL, CentOS, Fedora) — add to /etc/yum.conf:
Verify after any change:
Expected result: the variables show the approved proxy, and the package index refreshes through SafeSquid with matching access-log entries.For applications that ignore both the environment and the package-manager configuration, see Application-Specific Configuration.
Use these paths when walking a pilot user through the change, or when confirming what an endpoint is actually set to.GNOME (Ubuntu and derivatives)
  1. Open Settings and select Network.
  2. Open Network Proxy and select Manual.
  3. Set HTTP Proxy, HTTPS Proxy, and FTP Proxy to the SafeSquid address and port 8080.
  4. Set Ignore Hosts to localhost,127.0.0.1,*.local,*.internal.example.com.
  5. Select Apply system-wide, then sign out and back in.
macOS
  1. Open System Settings and select Network.
  2. Select the active service, Wi-Fi or Ethernet, then Details.
  3. Open Proxies and clear Auto Proxy Discovery to disable WPAD.
  4. Enable Web Proxy (HTTP) and Secure Web Proxy (HTTPS), and set both to the SafeSquid address and port 8080.
  5. Set Bypass proxy settings for these Hosts & Domains to a comma-separated list such as *.local, localhost, 127.0.0.1, *.internal.example.com.
  6. Enable Exclude simple hostnames, then select OK and Apply.
On macOS, create separate network locations for office and remote use under System Settings → Network → Location. A user can then switch proxy settings without editing fields, which reduces mistyped exceptions during a pilot.
These paths configure the graphical session only. Terminal applications still need the environment variables above.
Use registry-based proxy settings only through approved endpoint management or an administrator-controlled pilot. Manual registry edits are hard to audit and easy to leave behind.
Expected result: the registry value matches the approved proxy or PAC deployment. Prefer GPO or MDM for production enforcement.

Verify host coverage

On the SafeSquid server:
Expected result: OS-aware applications from the pilot host generate log entries. Also test one internal destination that should bypass SafeSquid. Confirm the host is applying the setting, per platform:
Expected result: the reported values match the approved SafeSquid listener and bypass list.
Something else on the host is usually overriding the proxy. Check, in order:
  • Browser extensions — proxy switchers and privacy extensions override browser-level settings without changing anything visible in the OS.
  • VPN clients — split-tunnel and full-tunnel configurations reroute traffic before it reaches the proxy setting.
  • Security software — endpoint agents that inspect traffic locally can intercept connections ahead of the configured proxy.
  • WPAD — if auto-detection is still enabled, a discovered PAC file takes precedence over the manual entry.
Test the proxy path directly to separate a client problem from a proxy problem:
Expected result: the request succeeds. If it does, the proxy is healthy and the fault is in the client configuration.

Capture deployment evidence

Store:
  • Hostname and operating system.
  • Proxy settings and bypass list.
  • Management tool or manual pilot method.
  • Access-log sample.
  • Internal bypass test result.
  • Rollback command.

Troubleshoot host routing

Next steps