Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs > nandunay
User Name


Rate this Entry

How to Block website in RHEL 6 using squid proxy server

Posted 02-09-2012 at 05:39 AM by nandunay

i m using squid proxy server....
now i want to block some websites using squid.conf file..
in this case, i write some entery for blocking..

acl mynet src
http_access allow mynet
http_port 3128

Now, In window Pc,IP:,and Tools,Internetoptions,connetion,lan seting , address: port:3128
now internet is working fine...

after that, i want to block some websites:
I make some entry:
#vim /etc/squid/block_list.txt
#vim /etc/squid/
acl block_list url_regex -i "/etc/squid/block_list.txt"
http_access deny block_list
#service squid restart
#chkconfig squid on

now i access any website at window clint pc..
this web site is open.....

so plz guide me , how to block webseits at
Posted in Uncategorized
Views 3856 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 02:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration