Search squid archive

Re: acl public ip and auth

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

 



> 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.


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

  Powered by Linux