Re: [squid-users] Reverse proxy: destination hostname different from real hostname

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 31 May 2014 22:21:38 +1200

On 30/05/2014 2:53 p.m., Roberto Carna wrote:
> Dear Amos and all, thanks for your response, but I need your last help
> please. I can't understand at all what you say, so I show you the main
> lines of squid.conf:
>
>
> https_port 443 cert=/etc/squid3/ssl/server.crt
> key=/etc/squid3/ssl/server.key defaultsite=server.company.com vhost
>
> cache_peer 1.1.1.1 parent 443 0 no-query originserver ssl
> sslflags=DONT_VERIFY_PEER login=PASS name=owaServer
>
> acl OWA dstdomain mail.entreprise.com
>
> cache_peer_access owaServer allow OWA
>
>
> And in my DNS I have these entries:
>
> server.company.com A IP_Reverse_Proxy
>
> mail.entreprise.com A IP_Mail_Server
>
>
> There are lots of clients machines that have server.company.com
> hardcoded in /etc/hosts and I can't go to them in order to change this
> line to mail.enterprise.com.
>
> Is it possible or what do I have to edit ???

Are you wanting traffic to go through the proxy or direct to the mail
server?

Which of the two DNS names are you wanting clients to use ?
 (regardless of their /etc/hosts settings)

Amos
Received on Sat May 31 2014 - 10:22:00 MDT

This archive was generated by hypermail 2.2.0 : Sat May 31 2014 - 12:00:07 MDT