Sorry for replying directly to your email address.
Anyway, when I add "never_direct allow all", my proxy will cease to
work. Cannot browse at all.
At 02:34 AM 11/24/2005, you wrote:
> -----Original Message-----
> From: kfliong [mailto:kfliong@xxxxxxxx]
> Sent: Tuesday, November 22, 2005 9:24 PM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject: parent proxy not working correctly?
>
>
> I have just setup some parent proxy for my squid proxyserver but
> somehow it doesn't work really well.
>
> Here is what I added.
>
> acl LAN_sites dstdomain netserver.wofs.local
> acl localnetwork url_regex -i 192.168
> always_direct allow LAN_sites
> always_direct allow localnetwork
never_direct allow all # Force all other traffic to use parent proxies.
>
> cache_peer 111.22.33.44 parent 554 554 round-robin
> cache_peer 111.22.33.45 parent 554 554 round-robin
> cache_peer 111.22.33.46 parent 8080 8080 round-robin
> cache_peer 111.22.33.49 parent 553 553 round-robin
>
> When I apply the settings, it works for a while. If I go to
> whatismyip.com, I will get those parent proxy ip addresses. But after
> a while, like 1 minutes, whatismyip.com will give me my real IP
> address. I will have to re-start squid and whatismyip.com will again
> give me parent proxy's IP for a few refresh before falling back to my
> real IP address.
>
> Is that how it works or I am doing something wrong?
>
> Please advice. Thanks in advance.
>
>
>
Chris