Squid proxy block all websites except white listed domains
-
Squidguard has no easy way to import 5000 URLs manually. pfBlocker may have a method but I don't know since I don't use it.
It might be easier for you to fake a squidguard blacklist by packaging up your domain list the same way the blacklists are packaged. Then you could easily import it.
For example, the Shallalist is a commonly-used blacklist which can be found here:
http://www.shallalist.de/Downloads/shallalist.tar.gz
It's a tar.gz file. Inside is a tar file. Inside the tar file is a folder structure with 'urls' and 'domains' files nested inside catagory folders under BL (for blacklist). You could create your own tar.gz file and then use the Blacklist page to import it.
-
Wow!! Awesome genius Idea... its working like a charm.
Thank you so much!! KOM :-)
-
Glad it worked for you.
-
@kom can you make a step by step how to block all website except white listed domains
-
@lesther123 I don't really have time for that, and there are lots of tutorials online. The short version is:
Install Squid & configure
Install Squidguard & configure
Configure WPAD
Force users to use proxy by blocking tcp80,443
In Squidguard, set default ACL to Deny
In Squidguard, create Whitelist ACL group and then add your allowed domains to it.That's basically it.
-
@kom it is possible to block all https??
-
Port 443/TCP is HTTPS.
-Rico
-
@kom Force users to use proxy by blocking tcp80,443, blocking in firewall rule??
-
Yes. How do you expect to enforce your web-browing rules if anyone can just go around the proxy by not using it?? If you block all tcp80,443 traffic on LAN, then NOBODY will be able to use the web except via proxy.
-
@KOM Hi sir kom, it is possible to allow gmail only?? in pfblocker
-
I don't know. I don't use pfB.