From owner-freebsd-questions Thu Apr 5 16:36:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-server1.tampabay.rr.com (smtp-server1.tampabay.rr.com [65.32.1.34]) by hub.freebsd.org (Postfix) with ESMTP id A8F5237B42C for ; Thu, 5 Apr 2001 16:36:35 -0700 (PDT) (envelope-from ctewksb1@tampabay.rr.com) Received: from office (6532120hfc212.tampabay.rr.com [65.32.120.212]) by smtp-server1.tampabay.rr.com (8.11.2/8.11.2) with SMTP id f35LO4S27997 for ; Thu, 5 Apr 2001 17:24:05 -0400 (EDT) Message-ID: <001d01c0be16$7e009820$ca0aa8c0@tampabay.rr.com> From: "Craig Tewksbury" To: Subject: ipfw and fwd Date: Thu, 5 Apr 2001 17:22:11 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C0BDF4.F34C2EE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C0BDF4.F34C2EE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using FreeBSD v3.2. I am using ipfw and natd. I would like to = forward inbound ftp traffic to an internal server. I have tried ipfw fwd = unsuccessfully. The rule I tried: ipfw add 200 fwd 192.168.4.2 tcp from any to ftp Where 192.168.4.2 is the internal ftp server and represents the = public address on my ipfw firewall. Am I misunderstanding the function of fwd? I have not tried natd = -redirect_port yet. Would this be a better option? fwd could be added or = removed dynamically (preferred). Any suggestions are welcome. Thanks. Craig Tewksbury ------=_NextPart_000_001A_01C0BDF4.F34C2EE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using FreeBSD v3.2. I am using = ipfw and natd.=20 I would like to forward inbound ftp traffic to an internal server. I = have tried=20 ipfw fwd unsuccessfully.  The rule I tried:
 
ipfw add 200 fwd 192.168.4.2 tcp from = any to=20 <oip> ftp
 
Where 192.168.4.2 is the internal ftp = server and=20 <oip> represents the public address on my ipfw = firewall.
 
Am I misunderstanding the function of = fwd? I have=20 not tried natd -redirect_port yet. Would this be a better option? fwd = could be=20 added or removed dynamically (preferred). Any suggestions are=20 welcome.
 
Thanks.
Craig = Tewksbury
------=_NextPart_000_001A_01C0BDF4.F34C2EE0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message