V
V
Vasily Ivanov2021-07-06 17:36:23
linux
Vasily Ivanov, 2021-07-06 17:36:23

How to make "transparent" squid proxy server?

In the /etc/squid/squid.conf file, when you add a command , the interceptproxy server stops working, when you remove it, everything works right away. The whole line in the config looks like this http_port 192.168.1.10:3128 intercept. I am working on ubuntu 20.04 with squid version 4.1

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2021-07-06
@sailor_r

If you need both a transparent proxy and a normal one, then you need to have a line with intercept, as well as a regular
example

http_port 192.168.1.2:3128

# transparent configuration ports
http_port  192.168.1.2:3129 intercept

well, plus, this is all with iptables
, and also, I almost forgot, you want to dance with SSL, there you will also need to add about ssl-bump.

A
Alexey Dmitriev, 2021-07-06
@SignFinder

To make squid transparent, you need to google one of the instructions on how to make squid transparent and use it to make it transparent.
It will obviously contain many more points than one addition of intercept
. And if it is good, they will also indicate to you that it is better to start a separate port for a transparent proxy, since adding an intercept will break an opaque proxy.

D
Drno, 2021-07-06
@Drno

I did it according to this article, then I finished it using the link from the last UPD... really a long time ago
https://habr.com/en/post/267851/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question