From owner-freebsd-ipfw Mon Feb 25 23:40:31 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from tesla.foo.is (tesla.reverse-bias.org [217.151.166.96]) by hub.freebsd.org (Postfix) with ESMTP id 95DD937B402 for ; Mon, 25 Feb 2002 23:40:25 -0800 (PST) Received: from germanium (germanium.reverse-bias.org [192.168.1.1]) by tesla.foo.is (Postfix) with SMTP id A34E42739; Tue, 26 Feb 2002 07:40:14 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: Baldur Gislason To: Victor.Tayer@morganstanley.com Subject: Re: ipfw and transparent proxy... Date: Tue, 26 Feb 2002 07:39:59 +0000 X-Mailer: KMail [version 1.2] References: <3C7B0609.90D88A06@morganstanley.com> In-Reply-To: <3C7B0609.90D88A06@morganstanley.com> Cc: freebsd-ipfw@freebsd.org MIME-Version: 1.0 Message-Id: <02022607395900.07860@germanium> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG put this before the divert rule(s) ipfw add fwd 127.0.0.1,3128 tcp from 192.168.0.0/24 to not 192.168.0.0/24 Where 3128 is the port, default Squid setting. Baldur On Tuesday 26 February 2002 03:50, you wrote: > hello, > > i have been using ipfw/nat for quite some time now and > is very satisfied with its performance. > > just wondering how can i use transparent proxy when i'm > also running natd on the same fbsd box. > > my box has 2 nics. my internal network is > 192.168.0.0/24 and a static public ip. > the box is running natd which works fine. > > can i do this setup with ipfw or ipfilter? any sample config is > greatly appreciated. > > tnx in advance. :P > > victor "jett" tayer > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message