From owner-freebsd-stable Mon Apr 6 08:11:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03631 for freebsd-stable-outgoing; Mon, 6 Apr 1998 08:11:18 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from mail.ukconnect.net (mail.ukconnect.net [195.219.13.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA03624 for ; Mon, 6 Apr 1998 08:11:11 -0700 (PDT) (envelope-from phil@virtek.com) Received: from phil.ukconnect.net (phil.ukconnect.net [195.219.14.2]) by mail.virtek.com (NTMail 3.03.0014/1.aa3h) with ESMTP id la003937 for ; Mon, 6 Apr 1998 15:10:42 +0100 Message-Id: <3.0.3.32.19980406142539.00f08630@mail.virtek.com> X-Sender: phil@mail.virtek.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 06 Apr 1998 14:25:39 +0100 To: freebsd-stable@FreeBSD.ORG From: Phil Allsopp Subject: Simple IPFW question Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk 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. Can anyone supply a command line that will do this. I suspect I will also have to modify the services file. I think the following is what shoukd be the correct command although I am unsure what to do with the services file: ipfw add divert 8080 80 from any to any IP Thanks Phil. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message