From owner-freebsd-questions Mon Aug 28 8: 7:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 7CF5637B423 for ; Mon, 28 Aug 2000 08:07:30 -0700 (PDT) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id KAA24732; Mon, 28 Aug 2000 10:07:26 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Mon, 28 Aug 2000 10:07:26 -0500 (CDT) From: Chris Dillon To: wanghx916@netscape.net Cc: questions@FreeBSD.ORG Subject: Re: Make FreeBSD a Proxy Server with Squid In-Reply-To: <1E37BBCC.664BA7C6.03595011@netscape.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 28 Aug 2000 wanghx916@netscape.net wrote: > Hello, > Can anybody tell me how to make my FreeBSD a proxy server with > Squid. My FreeBSD equiped with two network interface, one > connected to the Internet, the other one connected with the LAN. I > would like to make the Internet connection shared by all the > machine on the LAN. I want to know if I should rebuild my kernel > to support IPFW if I use the package Squid to be the proxy server, > and how to config the Squid to make it work correctly. I try to > use Squid without rebuild the kernel but failed. Thank you. Unless you want to attempt transparent proxying (which you shouldn't use unless you can't reconfigure all machines to use proxies manually), ipfw or ipfilter is not a requirement. To use Squid, just install it from a port or package and start reading /usr/local/etc/squid/squid.conf. It is a very well-documented configuration file. Even though the configuration file is huge with lots of options to play around with, the only thing you should have to do is set up an ACL so that your local clients can make requests to Squid, and set up the cache director{y|ies}. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For Intel x86 and Alpha architectures. ( http://www.freebsd.org ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message