Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: abc1234 on January 01, 2004, 08:30:25 PM

Title: squid 05-10 websites
Post by: abc1234 on January 01, 2004, 08:30:25 PM
Hello team !!

Is it possible in squid first to block all websites (everthing) ...... then allow only 05-10 sites of our choices.

Please let me know is it possible or not....

Thanks a lot !!!!!!!
Title: squid 05-10 websites
Post by: dalek on January 02, 2004, 06:23:36 AM
I have read that that is possible.  i'm not sure but I think it says to block all then you list the exceptions.  That said, I have never used squid.  I just read that somewhere.

Hope that makes sense.

Later

 :D  :D  :D
still no teeth on that grin.  I smile bigger than that.
Title: squid 05-10 websites
Post by: bahram741413 on January 18, 2004, 05:05:11 AM
hi 2 all
i think that the ACLs can solve ur problem.

acl first_site dstdomain www.firstsite.com
acl second_site dstdomain www.secondsite.com
.
.

http_access allow firstsite
http_access allow second_site
.
.
.
http_access deny all