[squid-users] acl public ip and auth

From: 展ga Dolher <admin@dont-contact.us>
Date: Sun, 5 Mar 2006 10:15:18 +0100 (CET)

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

_____________

Thanks,

展ga Dolher
zdolher@nastja.net
Received on Sun Mar 05 2006 - 02:15:20 MST

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