Close
Social profiles

How to block a Web Browser using Squid proxy

How to block a Web Browser using Squid proxy

You can block the popular web browsers from the Squid Proxy server, You must edit the squid.conf file to do this.

[root@server ~#]vim /etc/squid/squid.conf


Chrome

acl bad_browser browser Chrome
#Deny the requests from chrome
http_access deny bad_browser all

Mozilla Firefox

acl bad_browser browser Firefox
http_access deny bad_browser all

Opera

acl bad_browser browser Chrome
http_access deny bad_browser all

Internet Explorer

acl bad_browser browser IE
http_access deny bad_browser all
 

Close