Guide

How to install Squid proxy on Windows

Squid is the best-known open source caching proxy, and it was written for Unix. It does run on Windows 10, Windows 11 and Windows Server, but not out of the box. This guide covers the ways to get Squid for Windows, the problems Windows builds run into, and a step-by-step install. Updated November 2026, for Squid 7.8.

Ways to run Squid on Windows

The Squid project publishes source code, not Windows binaries. The Squid wiki's Windows page lists the builds that exist. In practice you have four choices:

  • Build it yourself with Cygwin. Squid compiles under Cygwin, the POSIX layer for Windows, and Cygwin's cygrunsrv can run it as a service. You own the toolchain, the DLLs that must ship beside squid.exe, every upgrade and every Windows-specific fault. A native MinGW build also exists but supports less of Squid.
  • A free prebuilt installer. Community MSI builds of Squid for Windows are listed on the Squid wiki. They install Squid and leave configuration to you: you edit squid.conf in a text editor and manage the service from the command line.
  • Linux inside Windows. Install Squid from your distribution's packages in a WSL 2 or Hyper-V Linux machine. That is a Linux server to maintain, and its networking sits behind the virtual machine's, so it suits a test bench better than a proxy for an office.
  • A supported distribution. Squid Proxy Professional (this site) is Squid 7.8 built from source for Windows, with a code-signed installer, a Windows service and a management console that writes and checks squid.conf for you. It is commercial, with a free 30-day trial.

Whichever you choose, check how current its Squid is. Older builds are still easy to find through search engines, and old Squid versions have known security faults fixed in later releases.

What goes wrong with Squid on Windows

We hit each of these while building Squid Proxy Professional. They apply to any Cygwin-based Squid for Windows, so check them whatever you install.

  • Paths with spaces. Squid splits a squid.conf value at the first space, so a path under C:\Program Files is cut short and Squid exits before it opens its log. Quotes alone do not help: Squid keeps them as part of the path unless configuration_includes_quoted_values on comes first. A Cygwin build also wants paths in its own form, /cygdrive/c/.... The simple way out is a folder with no spaces in its name.
  • No DNS. A Cygwin Squid looks for name servers in /etc/resolv.conf, which Windows does not have. With neither that file nor a dns_nameservers line in squid.conf, every request fails to resolve. Add dns_nameservers with your DNS servers, and remember to change it when they change.
  • Unsigned DLLs and Smart App Control. Windows 11's Smart App Control, and application-control policies such as App Control for Business, refuse to load unsigned DLLs, even into a signed program. A Squid build that ships unsigned Cygwin DLLs can run for days and then stop starting when the policy turns on. Event Viewer's CodeIntegrity log names the blocked file.
  • One Cygwin runtime. Squid's helpers (authentication, URL rewriting) are separate programs. They must load the same cygwin1.dll as Squid; a second copy elsewhere on the machine breaks them.
  • Cache store. Use cache_dir ufs. The diskd and rock stores depend on Unix facilities a Windows build does not fully provide.
  • Transparent interception. Intercepting traffic without client settings needs a packet-diversion driver on Windows. Plan on explicit proxy settings or a PAC file instead.

Step by step: install Squid on Windows

These steps use Squid Proxy Professional; the trial is the full product. With another build, the firewall, client and testing steps below are the same.

  1. Download the installer from the Download page and check its SHA-256 checksum. Windows shows the publisher, Steve Victor Faleiro, when it starts.
  2. Run it as an administrator and accept the defaults. It installs to C:\Program Files\Squid Proxy Professional and keeps the cache, logs and backups in C:\ProgramData\SquidProxyPro.
  3. Activate a key. Request a free 30-day key and enter it on the console's Licensing page.
  4. Run the Setup Wizard. Choose who may use the proxy (this computer, your private LAN, or a subnet), the port (3128 by default), the cache size and logging. The wizard checks the configuration with squid -k parse, installs the Windows service and starts it.
  5. Open the port in Windows Firewall for the Domain and Private profiles, from PowerShell run as administrator:
    New-NetFirewallRule -DisplayName "Squid proxy (3128)" `
      -Direction Inbound -Action Allow -Protocol TCP `
      -LocalPort 3128 -Profile Domain,Private
  6. Run Diagnostics in the console. It checks the files, the configuration, the service, the port and the firewall rule, and says what to fix.

The proxy now runs as the Windows service SquidProxyProfessional and starts with Windows. More detail is in the documentation.

Pointing clients at the proxy

  • One computer: Settings → Network & Internet → Proxy → Manual proxy setup, with the proxy's address and port 3128.
  • A Windows domain: deploy the setting by Group Policy, under User Configuration → Preferences → Control Panel Settings → Internet Settings.
  • Automatic: publish a PAC or wpad.dat file and point browsers at it.

Some programs ignore the Windows setting and need their own proxy settings: command-line tools, Java applications, and Firefox when it has been changed from Use system proxy settings. The Group Policy and WPAD guide covers each method step by step.

Testing the proxy

From another computer, ask for a page through the proxy (Windows 10 and later include curl):

curl -I -x http://proxy-address:3128 https://www.example.com/

An answer of HTTP/1.1 200 Connection established followed by the site's own headers means the proxy works. A 403 from Squid means your access rules do not allow that computer; no answer at all usually means the firewall. Each request is written to access.log, which the console's Logs page shows live.

Questions

Is there an official Squid for Windows?

No. The Squid project releases source code only; every Windows build of Squid comes from a third party. The Squid wiki lists the known ones, Squid Proxy Professional included.

Does Squid run on Windows Server?

Yes. Squid Proxy Professional supports Windows Server, Windows 10 and Windows 11, 64-bit, and was tested on a clean Windows Server 2025 installation before release.

Can Squid on Windows sign users in with their domain account?

Yes. On a computer that is a member of the domain, Squid can use Windows sign-on (Kerberos or NTLM), so domain users are not asked for a password and access.log records who made each request. See Windows domain sign-on.

Is Squid for Windows free?

Squid itself is free, open source software under the GNU GPL. Squid Proxy Professional charges for the Windows packaging, the service, the console and updates; the Squid it bundles stays under the GPL, and its source and build script are published.

Try it

Squid for Windows, ready in minutes.

The 30-day evaluation is the full product, and starts on activation.