B
B
biglebowski05732019-10-25 17:28:26
linux
biglebowski0573, 2019-10-25 17:28:26

How to redirect with Squid to https?

I continue the topic of the redirect for https. Perhaps someone is also interested.
--------------------------------
Compiled transparent Squid with SSL support. Everything works perfectly. It turns out selectively which I want to block http and https sites. How can I now redirect to another site through Squid? What lines need to be added to the config or can something else be done? For example from google.com to bing.com.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Drno, 2019-10-25
@Drno

Do you have local DNS? You can simply change it in your DNS.
but in general this is done on the gateway in theory ... traffic is marked on the ODA site, then a redirect is made to the desired one.

C
CityCat4, 2019-10-25
@CityCat4

Damn, there was already a similar question. Without bumping and issuing their certificates (moreover, the proxy must issue a certificate to bing, and not to Google) - it will not work. Certificates were invented, among other things, in order to exclude just such a substitution.

R
rionnagel, 2019-10-26
@rionnagel

Without mitm certificates in any way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question