Blocking a Specific Website by Proxy Server


This task can be done using the url_regex, srcdomain and dstdomain. url_regex checks the url for matching characters.

acl localhost src 127.0.0.1/32

acl to_localhost dst 127.0.0.0/8

            acl our_network src 192.168.200.0/24

acl facebook url_regex [i] .facebook.com        #[i] means ignore case

  

http_access deny facebook

http_access allow our_network

http_access deny all                                                        

Comments

Popular posts from this blog

Squid Configuration

Squint Configure

Postfix SASL authentication with SMTP port 465:

How to Change the Logo from Zimbra Admin Console