From owner-freebsd-questions Sat Jun 15 19:42:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.a1poweruser.com (oh-chardon6a-62.clvhoh.adelphia.net [68.65.175.62]) by hub.freebsd.org (Postfix) with ESMTP id 72E5B37B429 for ; Sat, 15 Jun 2002 19:42:46 -0700 (PDT) Received: from barbish (unknown [10.0.10.6]) by smtp.a1poweruser.com (Postfix) with SMTP id 55C29116 for ; Sat, 15 Jun 2002 22:45:34 -0400 (EDT) Reply-To: From: "Joe & Fhe Barbish" To: "FBSDQ" Subject: How to use natd -punch_fw Date: Sat, 15 Jun 2002 22:42:44 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 To the ipfw/natd gurus. The following is from man natd. -punch_fw basenumber:count This option directs natd to ``punch holes'' in an ipfirewall(4) based firewall for FTP/IRC DCC connections. This is done dynamically by installing temporary firewall rules which allow a particular connection (and only that con nection) to go through the firewall. The rules are removed once the corresponding connection terminates. A maximum of count rules starting from the rule number basenumber will be used for punching firewall holes. The range will be cleared for all rules on startup. As you can see this does not tell you how to use it or what the values for basenumber and count is suppose to represent. Can someone explain how to code this natd option, where it goes, and what or how it interacts with the ipfw rules for FTP ports 20 & 21? Thanks Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message