Can you post me a default config with my three lines in it, so that
the IP-Adress is using the whitelist defined and any other IPs can
reach any site?
Try below lines
# Define the pc/ip, which has to squid later
acl pc101 src 192.168.100.101/255.255.255.255
# define the whitelist
acl whitelist url_regex -i "/squid/etc/whitelist.allow"
http_access deny pc101 !whitelist
then, create below file.
touch /squid/etc/whitelist.allow
and add below domains to that file.
.allowedsites1.com
.allowedsites2.com
.allowedsites3.com
#the rest has FULL ACCESS
acl mynet 192.168.100.0/24
http_access allow mynet
restart squid
Happy Squiding
-- Thank you Indunil JayasooriyaReceived on Mon Jun 23 2008 - 11:22:44 MDT
This archive was generated by hypermail 2.2.0 : Mon Jun 23 2008 - 12:00:05 MDT