Re: [squid-users] Dansguardian + SQUID

From: Juraj Sakala <juraj.sakala@dont-contact.us>
Date: Thu, 8 Mar 2007 08:33:36 +0100

You have to compile squid with --enable-follow-x-forwarded-for option an use
this directives in squid.conf

follow_x_forwarded_for allow all
acl_uses_indirect_client on
log_uses_indirect_client on

On Saturday 24 February 2007 13:42, Pratchaya Chatuphian wrote:
> Dansguardian + SQUID
> ==================
>
> My System at first time
> ( Linux + SQUID )
> ( act as gateway internet + proxy for LAN )
> it' s work very nice.
> ( ACL and others config. in squid )
>
> After i 'm install dansguardian and config. and use it.
>
> My ACL List in My SQUID not working
> such as : example
>
> acl staffcm src "/etc/squid/allow_use_squid.txt"
> acl download urlpath_regex \.mp3$ \.MP3$ \.mov$ \.MOV$ \.mpg$ \.MPG$
> \.mpeg$ \.MPEG$ \.avi$ \.AVI$ \.iso$ \.ISO$ \.wma$ \.WMA$ \.torrent$
> \.TORRENT$
> acl allowdownload src "/etc/squid/allow_download.txt"
>
> http_access allow localhost
> http_access allow allowdownload
> http_access deny download
> http_access allow staffcm
> http_access deny all
>
>
> How can i work with squid + dansguardian completely ?
> ( such as: ACL config. and others )
>
>
> Would you like to help me ?
> I need your help .
>
> Thank you very much
> Best Regards,
> Pratchaya
>
> PS.
> #1.
>
> i try to config. in my SQUID squid.conf like this
>
> ======================
> forwarded_for on
> ======================
>
> but it still not working.
>
> #2
> and i try to config. in my DANSGUARDIAN dansguardian.conf like this
>
> ======================
> forwardedfor = on
> usexforwardedfor = on
> ======================
>
> and it still not working.
>
>
>
> #3 allow_download.txt
> 192.168.0.2
> 192.168.0.3
>
>
>
> #4 allow_use_squid.txt
> 192.168.0.2
> 192.168.0.3
> 192.168.0.4
> 192.168.0.5
> 192.168.0.6
Received on Thu Mar 08 2007 - 00:33:44 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT