[squid-users] transparent or intercept keyword stops the service

Amos Jeffries squid3 at treenet.co.nz
Wed Jan 12 11:52:46 UTC 2022


On 12/01/22 23:29, Daniel Sanchidrian wrote:
> Hi all!
> 
> 
> First of all I'm and new to squid, recently installed it to use in my 
> company network.

Welcome.


> I want to configure it as a transparent proxy. I dive 
> into the internet and find many tutorials but I'm facing a problem in 
> the configuration file for which I can't find a solution.
> 

FYI; The most accurate config examples can be found in our wiki
   <https://wiki.squid-cache.org/ConfigExamples/>


> The issue is with the keyword */transparent/* or */intercept/* (i have 
> 3.5.4 version installed). When i use one of them (both throws the same 
> error) like:
> 
> */http_port 3128 transparent/*
> 

This option is obsolete.

> or
> 
> */http_port 3128 intercept/*
> 

This is the current one for NAT interception.


> and then reload the configuration with /squid -k reconfigure/ or 
> reloading the service, it stops (or didn't reload or didn't restart). 
> This is the output of /*systemctl squid status*:/
> 

Please use "squid -k parse" to test configuration changes. That will 
tell you if there are any major problems and usually what to do about it.

When you get more familiar with Squid there is "squid -k check" to do 
the same tests more quietly, then automatically load the changes into a 
running proxy only if they are successful.


Cheers
Amos


More information about the squid-users mailing list