This is a collection of example Squid Configurations intended to demonstrate the flexibility of Squid.

Warning: Any example presented here is provided "as-is" with no support or guarantee of suitability. If you have any further questions about these examples please email the squid-users mailing list.

Online Manuals

We now provide an the Authoritative Configuration Manual for each version of squid. These manuals are built daily and directly from the squid source code to provide the most up to date information on squid options.

For Squid-4 the Manual is at

For Squid-5 the Manual is at

A combined Squid Manual can be found at with details on each option supported in Squid, and what differences can be encountered between major Squid releases.

Current configuration examples



Overview and explanation


Overview and explanation

WCCP v1 overview

WCCP v2 overview

Content Adaptation features

Overview and explanation

ICAP overview

eCAP overview


Captive Portal features

Reverse Proxy (Acceleration)

Instant Messaging / Chat Program filtering

Overview and explanation

Multimedia and Data Stream filtering

Torrent Filtering

  • /!\ Torrent filtering is not simple task and can't be done using Squid's only. It uses arbitrary ports, protocols and transport. You must also use active network equipment and some experience.


SMP (Symmetric Multiprocessing) configurations

  • /!\ Squid SMP support is an ongoing series of improvements in Squid-3.2 and later. The configuration here may not be exactly up to date. Or may require you install a newer release.

High Performance service

see also WCCP v2 overview for high-availability service.


Strange and Weird configurations

This is a section for weird (and sometimes wonderful) configurations Squid is capable of. Clued in admin often find no actual useful benefits from going to this much trouble, but well, people seems to occasionally ask for them...

External configuration examples

* - Configuring a Transparent Proxy/Webcache in a Bridge using Squid and ebtables (Jan 1st, 2005)

Create new configuration example

Choose a good WikiName for your new example and enter it here:


ConfigExamples (last edited 2021-11-07 13:31:46 by FrancescoChemolli)