Search squid archive

Re: acl public ip and auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tor 2006-03-09 klockan 08:57 +0100 skrev Žiga Dolher:
> Have you maybe any example of the config, because I don't know how to do it?

You need two instances of Squid. Each instance of Squid needs it's own

  - squid.conf
  - http_port
  - icp_port (unless disabled)
  - snmp_port (if enabled)
  - htcp_port (if enabled)
  - pid_file_name
  - cache_access_log
  - cache_store_log (unless disabled)
  - cache_log
  - cache_dir (one should use the null cache_dir to disable caching..)
  - unique_hostname (or visible_hostname)

Then in the first Squid use

  cache_peer localhost parent port.of.dansguardian 0 no-query
  never_direct allow all

Tell dansguardian to connect to the http_port of the second Squid.

Second Squid access controls is simply

  http_access allow localhost
  http_access deny all

only allowing access from dansguardian on the server itself.


Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux