The requirement is simple, all domain must be direct, except for special_domain which should be obtained from parent proxy.

--squid.conf--
acl intra_domain dstdomain .internal.dom
acl intra_ip  dst 10.0.0.0/8
acl special_domain dstdomain .example.com .example.net .example.org

cache_peer proxy.isp.net    parent    8080  0 no-query
never_direct allow special_domain
always_direct allow intra_domain
always_direct allow intra_ip
---
This results that some request are obtained from parent proxy, and some are direct.

Tried other combination also, but this direct all request for all domain.

always_direct deny special_domain
always_direct allow all

TIA.

--beast

Reply via email to