squid -k parse | Check Configuration |
acl Clients1 src 192.168.1.0/24 acl Permitlist1 dstdomain "/etc/squid/Permitlist1.txt" http_access allow Clients1 Permitlist1 acl Clients2 src 192.168.2.0/24 acl Permitlist2 dstdomain "/etc/squid/Permitlist2.txt" http_access allow Clients2 Permitlist2 http_access deny all
/etc/squid/acl/whitelist.txt
.test.com .example.com
acl Denylist1 dstdomain "/etc/squid/denylist1" http_access deny Denylist1
acl host1 src 10.0.0.1 http_access allow host1 acl host2 src 10.0.0.2 http_access allow host2
acl servers src 10.0.0.1 10.0.0.2 http_access allow servers
logformat squid %{%Y/%m/%d %H:%M:%S}tl %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt