How to add a user with the domain name example.com to Squid's default configuration file? By default Squid is configured to only accept requests from localhost. I'd like to add one more domain to the access list. The domain is in the external network (Internet).
to your squid.conf. I suggest you group it with your other acls, but it doesn't matter where you put it. You then need to add
in the http_access section. The order of http_access does matter, as it checks the access against them from top to bottom. You need to put it before the line that says:
It's worth pointing out that you're allowing access based on reverse DNS lookups. Anyone can change their reverse DNS to point at this domain. It's security by obscurity. No one is likely to bother, but they could.