<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all!</p>
<p><br>
</p>
<p>First of all I'm and new to squid, recently installed it to use
in my company network. 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.</p>
<p>The issue is with the keyword <b><i>transparent</i></b> or <b><i>intercept</i></b>
(i have 3.5.4 version installed). When i use one of them (both
throws the same error) like:</p>
<p><b><i>http_port 3128 transparent</i></b></p>
<p>or</p>
<p><b><i>http_port 3128 intercept</i></b></p>
<p>and then reload the configuration with <i>squid -k reconfigure</i>
or reloading the service, it stops (or didn't reload or didn't
restart). This is the output of <i><b>systemctl squid status</b>:</i></p>
<p><b><i>squid.service - Squid caching proxy</i></b><b><i><br>
</i></b><b><i> Loaded: loaded
(/usr/lib/systemd/system/squid.service; enabled; vendor
preset: disabled)</i></b><b><i><br>
</i></b><b><i> Active: failed (Result: exit-code) since Wed
2022-01-12 10:24:10 CET; 13s ago</i></b><b><i><br>
</i></b><b><i> Docs: <a class="moz-txt-link-freetext" href="man:squid(8)">man:squid(8)</a></i></b><b><i><br>
</i></b><b><i> Process: 1716954
ExecStartPre=/usr/libexec/squid/cache_swap.sh (code=exited,
status=0/SUCCESS)</i></b><b><i><br>
</i></b><b><i> Process: 1716956 ExecStart=/usr/sbin/squid
--foreground $SQUID_OPTS -f ${SQUID_CONF} (code=exited,
status=1/FAILURE)</i></b><b><i><br>
</i></b><b><i> Process: 1717864 ExecReload=/usr/bin/kill -HUP
$MAINPID (code=exited, status=0/SUCCESS)</i></b><b><i><br>
</i></b><b><i> Main PID: 1716956 (code=exited,
status=1/FAILURE)</i></b><b><i><br>
</i></b><b><i> CPU: 291ms</i></b><br>
</p>
<p><br>
</p>
<p>Thanks in advance for your help, <br>
</p>
<p>Regards<br>
</p>
<pre class="moz-signature" cols="72">--
Daniel Sanchidrian Hervás
Dep. Informática
2io Ingeniería Avanzda S.L.
910336960</pre>
</body>
</html>