Hi,
At 13.24 29/12/2004, B S Srinidhi wrote:
>Hello list,
>
>We have a Squid 2.5.STABLE5 setup with proxy authentication on a Debian
>box. The problem is that whenever we use apt-get, we need to export
>http_proxy env variable.
>
>Now my question is, can I make requests to a particular domain (like
>http.us.debian.org) to bypass the proxy auth?
Here a little example:
acl Debian dstdomain http.us.debian.org
acl password proxy_auth REQUIRED
acl our_networks src 192.168.0.0/16
http_access allow Debian our_networks
http_access allow password
http_access deny all
In this example, all requests from the internal network (192.168.0.0/16) to
http.us.debian.org are allowed unauthenticated. All others requests need
user authentication.
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Wed Dec 29 2004 - 07:59:42 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST