From owner-freebsd-stable Wed Apr 8 16:08:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08308 for freebsd-stable-outgoing; Wed, 8 Apr 1998 16:08:35 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from IAEhv.nl (root@iaehv.IAEhv.nl [194.151.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08297 for ; Wed, 8 Apr 1998 16:08:24 -0700 (PDT) (envelope-from wjw@surf.IAEhv.nl) Received: from surf.IAEhv.nl (root@surf.IAEhv.nl [194.151.66.2]) by IAEhv.nl (8.8.7/8.8.7) with ESMTP id BAA07487; Thu, 9 Apr 1998 01:07:43 +0200 (CEST) Received: (from wjw@localhost) by surf.IAEhv.nl (8.8.7/8.8.7) id BAA15484; Thu, 9 Apr 1998 01:07:43 +0200 (MET DST) Date: Thu, 9 Apr 1998 01:07:43 +0200 (MET DST) From: Willem Jan Withagen Message-Id: <199804082307.BAA15484@surf.IAEhv.nl> To: tom@uniserve.com Subject: Re: Simple IPFW question X-Newsgroups: list.freebsd.stable In-Reply-To: References: <19980406182643.62436@ucb.crimea.ua> Organization: Internet Access Eindhoven, the Netherlands Cc: stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk Take a look at: http://www.freebsd.org/ports/www.html and go to the package transproxy Does the job for me at home. Havent tried it at work yet. --WjW >> > 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. -- Internet Access Eindhoven BV., voice: +31-40-2 393 393, data: +31-40-2 439 436 P.O. 928, 5600 AX Eindhoven, The Netherlands Full Internet connectivity for only fl 12.95 a month. Call now, and login as 'new'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message