Re: [squid-users] acl public ip and auth

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Sun, 5 Mar 2006 11:05:17 +0100

> Hi all,
>
> I have a problem in with the squid configuration.
> My squid server is not in my local network, so I would like to access it
> from computers in my local network, that are behind a shorewall firewall
> that works as gateway.
> When I try to add an acl and the http_access for the public ip of my
> network, it is impossible to use the proxy

   Why is it impossible to use the proxy ?

        - which errors are seen in the browser (full) ?
        - what's in squid access.log for these failing requests ?
        - anything else in cache.log ?

>, but if I use proxy_auth it
> works. But I would like that users from my network access it without a
> password, and other public users need a password.
>
> My config:
> http_port 8080
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
> auth_param basic children 5
> auth_param basic realm Internet proxy
> auth_param basic credentialsttl 30 minute
>
> acl authentic proxy_auth REQUIRED
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl public src "my_public_ip"
>
> http_access allow "my_public_ip"
> http_access allow authentic
> http_access deny all
>
> _____________

  M.
Received on Sun Mar 05 2006 - 03:05:21 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:03 MST