Squid3 Deny all traffic (Ignoring ACL)
Hello all,
I have a squid3 on a debian lenny box but cannot get access to any site. If i remove the http_access deny all works, but i just want those ip to get access to squid My squid.conf Code:
intranet:/etc/squid3# cat squid.conf Code:
1266500703.544 1 127.0.0.1 TCP_MISS/200 926 GET cache_object://localhost/storedir - NONE/- text/plain |
The conf file looks fine. Could you try restructuring the squid.conf rules, like moving the below mentioned lines above the http_access lines and check.
http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports Move the http_port and icp_port also above. -- Prasanta |
Hello Prasanta,
Just moved the lines you said and nothing Code:
intranet:/etc/squid3# cat squid.conf Quote:
And the funny thing is that even if i log into the debian box and try to surf the web as localhost still get the Access Denied. Note: After moving the lines as you asked and commeting the http_access deny all, got the Access Denid error too |
I made it work, was the order of the squid.conf
This is the order i got for future reference and to avoid error trying to get https pages must have the never_direct allow all sentence Code:
intranet:/etc/squid3# cat squid.conf |
All times are GMT -5. The time now is 07:40 AM. |