Operating System - Linux
1827824 Members
2037 Online
109969 Solutions
New Discussion

Re: how to exclude some webseites from squid proxy ?

 
'chris'
Super Advisor

how to exclude some webseites from squid proxy ?

hi

how to exclude some webseites from squid proxy ?
I'm using squid Version 2.4.STABLE7 at SuSE 8.1 ?

The problem is, that some webseites don't work via proxy.
I know, I can exclude at the browser as well , but at 400 clients is it a lot of work.

kindly regards
chris

 

 

P.S.This thread has been moved from Archived Desktops and Workstations Boards>Linux based toLinux > networking- HP Forums Moderator

6 REPLIES 6
Jerome Henry
Honored Contributor

Re: how to exclude some webseites from squid proxy ?

Try to associate Iptables, which is the firewalling function of Linux kernel. both Iptables and Squid work well together.
read :
http://www.linuxsecurity.com/resource_files/firewalls/IPTables-Tutorial/iptables-tutorial.html
hth
J
You can lean only on what resists you...
'chris'
Super Advisor

Re: how to exclude some webseites from squid proxy ?

hi Jerome

but the firewall is disabled at
this linux server.

I would like exclude some webseites from squid.conf directly.
and I don't think so, that there is no solution

kindly regards
chris
Jerome Henry
Honored Contributor

Re: how to exclude some webseites from squid proxy ?

Hi Chris,
Well, there are in squid the access lists, which are more or less designed to do what you want. Look at :
http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.4
You have there 2 examples, blocking by keyword or by URL.
Hope this helps.
J
You can lean only on what resists you...
Kenneth Porter
Advisor

Re: how to exclude some webseites from squid proxy ?

So you're not using Squid as a "transparent proxy" (using the iptables redirect to userspace feature)?
Jean-Pierre Denis
Valued Contributor

Re: how to exclude some webseites from squid proxy ?

Hi,

you may want to look at http://www.squidguard.org/intro/

It should do what you want.

Thanks,
JP
Open your Mind and use Open Source software...
'chris'
Super Advisor

Re: how to exclude some webseites from squid proxy ?

hi

is it correct to put:

acl url_live url_regex http://192.168.0.100/web/
no_cache deny url_live

to the squid.conf ?

greetings
chris