Search squid archive

Re: How to exclude ip addressses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Angela Williams wrote:
> Hi!
> On Wednesday 30 January 2008, Indunil Jayasooriya wrote:
>> Hi All,
>>
>> I want to know how to exclude or bypass a few ips with squid.
>>
>> these are the basic rules currently wriiten in squid.conf files
>>
>> acl our_networks src 192.168.0.0/16
>>  http_access allow our_networks
>>
>> Let's say, a few sites are running on 192.168.0.4  and 192.168.0.7. I
>> want to exclude (bypass) squid for thses ips.
>>
>> How can I do it with squid.conf  file?
>>
>> Hope to hear formn you.
> 
> You could try always_direct
> 
> Me? I rather do that kind of thing in a proxy autoconfiguration script but 
> then you need an http server like Apache http server!

By the time the request has got to squid it's too late.  You must do
this browser-side, as Ang said in a proxy auto config script or just by
adding them to the proxy exclusion list.

HTH,


				Neil.

-- 
Neil Hillard                    neil.hillard@xxxxxxxxxxxxxxxxxx
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux