Operating System - Linux
1830251 Members
2295 Online
110000 Solutions
New Discussion

Configuring Squid Proxy server

 
SOLVED
Go to solution
shetty
Frequent Advisor

Configuring Squid Proxy server

Hi guys,
Iam using Squid Proxy Server.
I want to block some of the web sites to some of the systems in the network.I want to know , how to do this.

Shetty.
4 REPLIES 4
Hoefnix
Honored Contributor
Solution

Re: Configuring Squid Proxy server

Hi,

You can find it out in the next manual:
http://squid-docs.sourceforge.net/latest/book-full.html#AEN1389

HTH,

Peter
Muthukumar_5
Honored Contributor

Re: Configuring Squid Proxy server

Hai,

We can block the url's with different type of acl setup on squid.

url_regex
It will expect the full url to block
urlpath_regex
It will block the url which contains the specific regex pattern there

dstdomain
It is used to block the domains as *.yahoo.com urls.

dstdom_regex
It is used to block the destination domain which contains the specific domain.

dst
it is used to block the destination with it's IP-Address.

urlpath_raw_regex
It is not updated in squid-2.5.5. It is used to block the regexp with it's ascii code. Example. p can be written as %50. It will block that too.

Use this
http://www.squid-cache.org/Doc/FAQ/FAQ-10.html to know about them.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Configuring Squid Proxy server

Hai.

To know the acl setup with examples refer this link,

http://squid.visolve.com/squid/squid24s1/access_controls.htm#acl

We can use -i option to ignore the case-type and files to contain all the url(s) or domain(s).

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
shetty
Frequent Advisor

Re: Configuring Squid Proxy server

Hi guys,
Thank u very much for your fast support.

Shetty.