From owner-freebsd-questions Tue Aug 8 12:13:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from c014.sfo.cp.net (c014-h023.c014.sfo.cp.net [209.228.12.87]) by hub.freebsd.org (Postfix) with SMTP id 8032837B59E for ; Tue, 8 Aug 2000 12:13:51 -0700 (PDT) (envelope-from dchance@valuedata.net) Received: (cpmta 24281 invoked from network); 8 Aug 2000 12:13:50 -0700 Received: from m12hRs4n205.midsouth.rr.com (HELO development1) (24.95.125.205) by smtp.valuedata.net with SMTP; 8 Aug 2000 12:13:50 -0700 X-Sent: 8 Aug 2000 19:13:50 GMT Message-ID: <000b01c0016c$a0e2fca0$0200000a@development1> From: "Daryl Chance" To: "FreeBSD Questions" , "FreeBSD IPFW" Subject: IPFW rule rewrite to be more "flexable" and "readable" Date: Tue, 8 Aug 2000 14:12:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm in the process of changing my ipfw rules to be a little more flexable and readable. basiclaly i'm changing the rules from: ipfw add allow tcp from any to any 21 to: ipfw add allow tcp from any to any ftp I'm having a problem with ftp-data(port 20) though. ipfw won't accept it in "" or ''. it keeps thinking i'm trying to pass it a port range. Here's the actual message: $ ipfw add allow tcp from any "ftp-data" to any setup ipfw: unknown port ``data'' Is there ANY way to get this to work, or is this a known issue that needs to be fixed. Thanks, Daryl Chance To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message