Re: Squid conf

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 03 May 1999 22:24:22 +0200

Brian Kerr wrote:
>
> Can someone that has transparent caching working send me their conf file?

Recommended squid.conf configuration for transparent caching:

http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_uses_host_header on

How to set up the redirection of the TCP traffic to Squid heavily
depends on what kind of system you are using.

Also Squid needs to know how to determine the real destination address
for the requests. If you are using IP-Filter to redirect the TCP traffic
to Squid then this is acomplished by the --enable-ipf-transparent option
to configure. No configure option is needed on Linux or recent versions
of FreeBSD (or is it NetBSD?) as the kernel on those systems are kind
enought to provide this information throught the standard interfaces.

If you are using a external NAT device to get the traffic accepted by
the Squid host, then either this device is required to include a minimal
HTTP proxy which rewrites the requests to proxy format, or Squid needs
to be extended with code for interfacing with the NAT device for finding
the real IP address.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Mon May 03 1999 - 14:24:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:12 MST