Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-08 Thread Amos Jeffries
On 08/08/18 16:49, Hariharan Sethuraman wrote: > I think giving name helped to fwd/reverse to same parent proxy port: > cache_peer parent-proxy.domain.com > parent 80       0  no-query no-digest login=PASS originserver > name=reverseproxy > cache_peer parent-proxy.d

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
I think giving name helped to fwd/reverse to same parent proxy port: cache_peer parent-proxy.domain.com parent 80 0 no-query no-digest login=PASS originserver name=reverseproxy cache_peer parent-proxy.domain.com parent 80 0 no-query no-digest login=PASS name=forwardproxy On Wed, Aug

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
> The traffic types have different syntax. It is possible to have a parent > proxy which receives both, but that has to be different ports and > different cache_peer links between them. As I said in same cache_peer (without changing the parent proxy port), both forward (removed originserver option

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
Yes correct, the parent Proxy is a forward, but the squid will have to do both from client aspect. Can I run two instances of squid - forward and reverse separately considering my configuration is good enough? On Tue, 7 Aug 2018, 22:00 Amos Jeffries, wrote: > On 08/08/18 04:01, Hariharan Sethur

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Amos Jeffries
On 08/08/18 04:01, Hariharan Sethuraman wrote: > Thanks Amos: yes agree that I should have told forward proxy. > > When I remove the originserver option from cache_peer, the forward proxy > is working so which means the rewriter is not precluding from happening. > Does that give any clue to us?  >

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
Thanks Amos: yes agree that I should have told forward proxy. When I remove the originserver option from cache_peer, the forward proxy is working so which means the rewriter is not precluding from happening. Does that give any clue to us? Moreover the reverse proxy is in next hop to the client an

Re: [squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Amos Jeffries
On 08/08/18 01:04, Hariharan Sethuraman wrote: > Hi, > > We have our company proxy and this is how the topology is expected to > look like for the deployment: > > Client > ---squid-host.com---company-proxyInternet > > Now I need to allow revers

[squid-users] Reverse proxy and TUNNEL to same cache peer

2018-08-07 Thread Hariharan Sethuraman
Hi, We have our company proxy and this is how the topology is expected to look like for the deployment: Client ---squid-host.com---company-proxyInternet Now I need to allow reverse proxy(3128) for some request from the client and tunnel (3129)