Re: [squid-users] Reverse mode: destination hostname change

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 30 May 2014 13:55:00 +1200

On 30/05/2014 3:56 a.m., Roberto Carna wrote:
> Dear, I've implemented a Squid reverse proxy that works OK.
>
> I have several HTTP and HTTPS sites setup in reverse mode, but now one
> of them has to change the hostname from server.company.com to
> mail.company.com.
>
> If I define an alias in our internal DNS as follow:
>
> mail.company.com CNAME server.company.com
>
> or add a new A record pointing to the same IP as server.company.com:
>
> mail.company.com A x.x.x.x
>
> Will reverse Squid work OK without any changes ??? Or do I have to
> have mail.company.com mandatory in the ACL dstdomain clause ???

You should have it in the dstdomain, yes. That is what allows traffic
through the proxy and to the peer.

However, if you already have ".company.com" in the ACL then it and all
other possible sub-domains are already covered.

Amos
Received on Fri May 30 2014 - 01:55:08 MDT

This archive was generated by hypermail 2.2.0 : Fri May 30 2014 - 12:00:06 MDT