Block user in squid for internet access


In this post i am going to create a rule in which i will block a user for internet access.

#vim /etc/squid/squid.conf
#create acl rule
acl block_user src 192.168.0.20

#apply rule
http_access  deny block_user
#service squid reload