1
Web Proxy Filtering and Caching / Re: default block all; allow whitelist
« on: March 13, 2024, 03:05:15 pm »Tried to allocate "*.*, 0.0.0.0/0.0.0.0" to the blacklist but it only accepts single entries thus far: "meuk.com".
Is it possible through the GUI or should i create squid ACL lists at shell level?
This what worked for me in GUI. Came here from web search results looking to do the same (blacklist everything except some):
Put the list of allowed domains into the Whitelist field. If there are multiple, type each one then press enter. Use regex if you need.
Put dot followed by asterisk sign in the Blacklist field then press Enter. It should look like this:
Code: [Select]
.*
The above regex will match everything. in squid conf the whitelist is configured to first allow then the blacklist comes, so you don't need to manually edit the squid conf file.