From owner-freebsd-stable Tue Apr 7 09:50:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18344 for freebsd-stable-outgoing; Tue, 7 Apr 1998 09:50:37 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA18339 for ; Tue, 7 Apr 1998 09:50:32 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.com [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0yMbYX-0001BB-00; Tue, 7 Apr 1998 09:49:05 -0700 Date: Tue, 7 Apr 1998 09:49:04 -0700 (PDT) From: Tom To: Ruslan Ermilov cc: freebsd-stable@FreeBSD.ORG Subject: Re: Simple IPFW question In-Reply-To: <19980406182643.62436@ucb.crimea.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk On Mon, 6 Apr 1998, Ruslan Ermilov wrote: > On Mon, Apr 06, 1998 at 02:25:39PM +0100, Phil Allsopp wrote: > > I want to redirect all data transferred through port 80 (http) to > > port 8080 (my Proxy). This appears to be simple although it doesn't seem > > to work when I try the redirection using ipfw. > > No, firewall won't do this. See natd(8). Is this actually possible with natd? I don't think so. natd seems to be only capable a straightforward many-to-1 translation, not the fairly specialized translation required to intercept HTTP, and translate it into a proxy request. > Regards, > -- > Ruslan Ermilov System Administrator > ru@ucb.crimea.ua United Commercial Bank > +380-652-247647 Simferopol, Crimea > 2426679 ICQ Network, UIN Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message