I'm trying to set up a proxy for web browsing only via my dev server. The very basic configuration worked and I was able to browse, now when I've tried to complicate the things, It suddenly stopped working and I get connection timeout in browser and my log files are empty.

What I've tried to achieve is restrict the proxy to my IP range in my country and set a basic http auth for it.

Here's my config

acl all src all

acl manager proto cache_object

http_port 1302

emulate_httpd_log on

acl localhost src

acl Safe_ports port 1302

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd

auth_param basic children 5

auth_param basic realm NiceIdea

auth_param basic credentialsttl 2 hours

auth_param basic casesensitive on

acl israel src

acl deb0rian proxy_auth REQUIRED

http_access allow localhost

http_access allow israel deb0rian

http_access deny !Safe_ports

http_access deny all

visible_hostname nadinspes

forwarded_for off

header_access Via deny all

header_access Forwarded-For deny all

header_access X-Forwarded-For deny all

access_log /var/logs/squid/access.log squid

cache_log /var/logs/squid/cache.log

cache_store_log /var/logs/squid/store.log

Any ideas why it stopped working?

Thanks! T_T

1 Answer 1


Debian's localhost address is A 32 netmask of will not be included in the ACL.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .