My IT Experience

Tuesday, November 30, 2010

Block IP based brousing in Squid

open squid.conf on any of the text editor
vim /etc/squid/squid.conf
and add te below lines to add an access list

acl ipacl url_regex http://[0-9]*/.[0-9]*/.[0-9]*/.[0-9]*
http_access deny ipacl
You need back slash before dot in the url_regex. otherwise all the URLs will
be blocked.
Posted by Unknown at 12:24 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2014 (1)
    • ▼  June (1)
      • Import lync module to a remote system
  • ►  2013 (5)
    • ►  July (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (1)
  • ►  2012 (25)
    • ►  December (2)
    • ►  November (1)
    • ►  August (2)
    • ►  July (1)
    • ►  March (4)
    • ►  February (9)
    • ►  January (6)
  • ►  2011 (20)
    • ►  August (1)
    • ►  March (2)
    • ►  February (17)
  • ►  2010 (19)
    • ►  December (2)
    • ►  November (4)
    • ►  October (13)

About Me

Unknown
View my complete profile

Disclaimer

All data and information provided on this site is for informational purposes only. The author makes no representations as to accuracy, completeness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis.

Ethereal theme. Powered by Blogger.