From owner-freebsd-isp Mon Oct 4 17:32:16 1999 Delivered-To: freebsd-isp@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id C9A3315214 for ; Mon, 4 Oct 1999 17:32:03 -0700 (PDT) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id RAA63719; Mon, 4 Oct 1999 17:31:55 -0700 (PDT) Date: Mon, 4 Oct 1999 17:31:54 -0700 (PDT) From: Julian Elischer To: Wm Brian McCane Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Transparent Proxying In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 2 Oct 1999, Wm Brian McCane wrote: > Okay, I went through the ISP mailing list on www.freebsd.org and didn't > find the answer to this question. I kept getting the impression that it > is so obvious I shouldn't need any help, but anyway: > > I have 2 boxes that allow dialin connected to my intranet. > I have 1 box which is multihomed > a) one side on my intranet > b) other side on an ADSL line with static IP > The multihomed box gateways my ADSL side into my intranet > It is also running SQUID-22 > > I want my dialin lines to be transparently proxied by the > multihomed box. I have added the following rule to ipfw: > > ipfw add 216 fwd 1.2.3.4,3128 tcp from 1.2.3.216 to any 80 is 1.2.3.4 the local machine? and why not use 127.0.0.1 which machine is 1.2.3.216? > > The squid cache never shows the inbound connection. Have I missed > something obvious? You may need to turn on an option on squid too. I did it once, but I forget what it was. (At one stage you needed to actually patch squid but that it no longer true). The Linix squid howtos give the details... > > brian > > +-----------------------------------+------------------------------------------+ > He rides a cycle of mighty days, and \ Wm Brian and Lori McCane > represents the last great schizm among\ McCane Consulting > the gods. Evil though he obviously is, \ root@bmccane.maxbaud.net > he is a mighty figure, this father of \ http://bmccane.maxbaud.net/ > my spirit, and I respect him as the sons \ http://bmccane.maxbaud.net/~pictures/ > of old did the fathers of their bodies. \ http://bmccane.maxbaud.net/~bmccane/ > Roger Zelazny - "Lord of Light" \ > +-------------------------------------------+----------------------------------+ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message