I want to enable access to all requests on Squid3 server ie. request from anywhere to anywhere through the proxy server should be allowed.
I've already tried adding this to the end of config file /etc/squid3/squid.conf
:
acl all src 0.0.0.0/0 http_access allow all
I'm still getting the TCP_DENIED_REPLY error:
1490004026.216 0 10.142.224.249 TCP_DENIED_REPLY/403 3546 GET http://www.fb.com/ - HIER_NONE/- text/html
How do I do get this working?
The proxy is available for localhost . The default port is 3128 . The preinstalled configuration file /etc/squid/squid.
Access Control Lists are the base elements in the Squid configuration file, which help in identifying web transactions, by various attributes of that transaction. We have already learned about the syntax for constructing ACLs in Chapter 2.
You need to edit the squid config file to enable access. The default location for the squid file on ubuntu is : /etc/squid3/squid.conf
The following lines enable access to all requests:
# allow all requests acl all src 0.0.0.0/0 http_access allow all # Make sure your custom config is before the "deny all" line http_access deny all
Note: Make sure you insert this before the final deny block in the squid config file:
If you'd like to debug your requests , use the following line in your config file:
debug_options ALL,1 33,2 28,9
This enables extensive logging for every request. The logs can be found in /var/log/squid3/cache.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With