From owner-freebsd-questions Tue Nov 26 12:41:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E4AA37B401 for ; Tue, 26 Nov 2002 12:41:39 -0800 (PST) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3269D43E9C for ; Tue, 26 Nov 2002 12:41:39 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163]) by mail.econolodgetulsa.com (8.12.3/8.12.3) with ESMTP id gAQKfdZb009654 for ; Tue, 26 Nov 2002 12:41:39 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Date: Tue, 26 Nov 2002 12:41:39 -0800 (PST) From: Josh Brooks To: questions@freebsd.org Subject: port redirect with ipfw NOT NAT (not NAT) Message-ID: <20021126123656.G77087-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I want to perform a very simple act: All traffic going to 10.10.10.10 port 50 should go to 10.10.10.10 port 5050 That's it. The trick is, I am _not_ interested in running NAT. This is not some cable modem or laptop splitting my DSL service - this is a rackmount firewall on a real network. So again, I do not have any interest in running NAT in any form. Not interested, thanks. But, I cannot seem to figure out what the ipfw rule is to perform this simple task. So the question is: What is the ipfw syntax to redirect all traffic from one port to another. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message