From owner-freebsd-ipfw Wed Mar 27 15:38:15 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id A3B2137B41D for ; Wed, 27 Mar 2002 15:38:02 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020327233802.DILS1214.rwcrmhc54.attbi.com@blossom.cjclark.org>; Wed, 27 Mar 2002 23:38:02 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g2RNc1D94899; Wed, 27 Mar 2002 15:38:01 -0800 (PST) (envelope-from cjc) Date: Wed, 27 Mar 2002 15:38:01 -0800 From: "Crist J. Clark" To: Szabados Jozsef Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: transparent proxying Message-ID: <20020327153801.T89885@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from szabadosjozsef@freemail.hu on Wed, Mar 27, 2002 at 01:32:46PM +0100 X-URL: http://people.freebsd.org/~cjc/ 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 On Wed, Mar 27, 2002 at 01:32:46PM +0100, Szabados Jozsef wrote: > Sorry, I forgot the subject. > > Szabados Jozsef írta: > > > Hi! > > > > I would need some starting info about transparent proxying. > > > > So, first I forward the packet, on port xx to 127.0.0.1:xxxx > > the proxy get the packet, and it will see the destination ip > > 127.0.0.1, isn't it? It will be _delivered_ to 127.0.0.1 > > So how can I find out the original > > destination > > ip address of the packet? Read it out of the packet. 'fwd' makes no modifications to the packet. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message