From owner-freebsd-questions Mon Aug 13 8:10: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 9756E37B406 for ; Mon, 13 Aug 2001 08:09:57 -0700 (PDT) (envelope-from rdickers@columbus.rr.com) Received: from chrome (dhcp31183112.columbus.rr.com [24.31.183.112]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with SMTP id f7DF6FL22307 for ; Mon, 13 Aug 2001 11:06:15 -0400 (EDT) Message-ID: <005601c1240a$df948510$0200000a@chrome> From: "Rodney Dickerson" To: Subject: ipfw and natd question Date: Mon, 13 Aug 2001 11:16:01 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 Well I got ipfw to work, finally, and everything seems to be ok. I am running v4.3 on a P-133 with 128MB RAM, and I was surprised to see that it runs at less than 1% utilization. Pretty Cool! Anyway, I am using roadrunner, and I have 2 machines on the private network. Now I want to run an ftp server on one machine, and I am not sure how to configure the ipfw rules for that. I followed the ipfw how-to, sort of, and had to modify it slightly to work with a cable modem instead of a modem (ppp). My question is this: Do I use natd to redirect incoming connections on port 21 to my internal server (10.0.0.10), or do I use an ipfw command? I think that it will be ipfw, but I am not sure on which command to use (divert, fwd, tee, or what) and the syntax. Keep in mind that I have a dynamic public ip (on interface rl0), so I need the rule to be dynamic. Any help would be appreciated. Thanks! Rod To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message