N
N
nonvon2020-03-31 01:09:59
Squid
nonvon, 2020-03-31 01:09:59

Squid is a transparent proxy without browser settings, is it possible?

Actually, the problem is that you need access to several sites through a server with a squid. - for banal hiding of the server address with sites + statics cache.

In the DNS of the registrar I make an A record with the Domain name and the proxy address.
Server cent os 7 + squid. Of the squid settings, I added only

http_access allow all
http_port 80,

everything else is by default

. And as a result, this is what happens - if you set our proxy + port in the browser, then the entire Internet works))) via SSL too

But the site we need is not. in /etc/host ip - added the name of the desired domain.

Tolley he cannot resolve the domain, or something else - it's not clear. I tried a lot of things - it doesn’t work (((help me figure it out. Beer, cognac, or money from me.

I also wanted only the sites I needed to work. Proxy-only server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2020-03-31
@saboteur_kiev

It is necessary that the client through the domain gets to your squid, and the squid through the domain gets to the server's IP directly.
Or you do not quite understand how the network works and confuse port forwarding and proxy

N
nonvon, 2020-03-31
@nonvon

well, so it is. absolutely correct
0 33.144.99.111 TCP_MISS/500 4748 GET domain.com/favicon.ico - HIER_NONE/- text/html
that's what's in the squid access log. the first number says that he does not even try to look for a bunch of domain name - ip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question