From owner-freebsd-questions Tue Sep 26 23:37:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 2B25837B424 for ; Tue, 26 Sep 2000 23:37:20 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 26 Sep 2000 23:36:03 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8R6bDK87592; Tue, 26 Sep 2000 23:37:13 -0700 (PDT) (envelope-from cjc) Date: Tue, 26 Sep 2000 23:37:12 -0700 From: "Crist J . Clark" To: "Thomas T. Veldhouse" Cc: "FreeBSD-Questions, " Subject: Re: Port Forwarding Message-ID: <20000926233712.A81242@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <00c201c0281e$ab3b6420$0100a8c0@veldy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00c201c0281e$ab3b6420$0100a8c0@veldy.net>; from veldy@veldy.net on Tue, Sep 26, 2000 at 08:02:55PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 26, 2000 at 08:02:55PM -0500, Thomas T. Veldhouse wrote: > I am having a very tough time finding any information on port fowarding. I > am trying to forward the incoming requests on the 8080 port of a FreeBSD 4.1 > machine to the 80 port of a Windows machine on the LAN. I have been > attempting this with > > $fwcmd add fwd 192.168.0.3,80 tcp from any to any 8080 via rl0 > > to no avail. It does not want to work. And will not. This is not what ipfw fwd is for. Read ipfw(8), fwd ipaddr[,port] . . . This is intended for use with transparent proxy servers. > Can anybody give me a suggestion as to how to do this? If you are already doing NAT with natd(8), as the address you used implies, see redirect_port on that manpage. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message