Answer the question
In order to leave comments, you need to log in
Proxy squid - how to set up site redirects?
I saw something like this at the enterprise ...
There are several proxy servers that listen on port 3128.
There is a virtual machine with ubuntu on it squid, it has two lists in the settings, they list the site names and ip where you want to send traffic for these sites.
The content of the list is something like this:
imyasaita1.ru 192.168.0.10:3128
imyasaita2.ru 192.168.0.10:3128
imyasaita3.ru 192.168.0.10:3128
And when squid received a request like imyasaita3.ru, it looked for a match in these lists, and when it found it, it processed redirect and opened the page.
The question is what syntax should the lists of sites have and how to communicate with them from the squid config.
Answer the question
In order to leave comments, you need to log in
better describe in more detail what you specifically need, it is possible that it was some kind of crutch for lack of more correct means of solving the problem.
Well, or read man on Squid, but it seems to me that initially the problem lies elsewhere
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question