Squid proxy authentication in transparent mode

Q. I was referring to your Squid transparent proxy configuration howto, and my question to you – can proxy authentication be done in transparent mode?

ADVERTISEMENTS

A. Short answer: noop, you cannot use Squid proxy authentication in transparent mode.

From official squid docs:

Authentication cannot be used in a transparently intercepting proxy as the client then thinks it is talking to an origin server and not the proxy. This is a limitation of bending the TCP/IP protocol to transparently intercepting port 80, not a limitation in Squid.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
3 comments… add one
  • Anas Feb 2, 2008 @ 6:08

    Squid proxy access.log in transparent mode

    My question … how can monitor and view logs in access logs in transparent mode … actually no logs in access log

  • Subin Panicker Jan 27, 2009 @ 19:47

    have u found answer for your question. If it there then please post it.

  • bezt Feb 21, 2010 @ 18:44

    Yea… i got the same problem on transparent mode

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.