Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a squid.conf that looks like this:

httpd_suppress_version_string on
via off

http_port 3128 transparent

acl all src all acl SSL_ports port 443 acl CONNECT method CONNECT acl manager proto cache_object acl localhost src

http_access allow manager localhost http_access allow localhost http_access deny manager http_access deny CONNECT !SSL_ports http_access deny all

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

coredump_dir /var/cache/squid

And an autossh tunnel that looks like this:

sudo autossh -C -N -L -i /home/me/.ssh/id_rsa -M 20000

I must have some misconfiguration: every http connection over the tunnel is 403'ed at squid. I don't see what I've done wrong. Can someone pull me out of the woods?

share|improve this question
up vote 0 down vote accepted

Try using -L 3128:localhost:3128 instead so you connect to squid on the loopback interface.

share|improve this answer
That was entirely the problem. Thank you kindly, Eduardo. – troutwine May 30 '11 at 13:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.