From owner-freebsd-ipfw@FreeBSD.ORG Thu Nov 12 18:09:52 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BCEC106566B for ; Thu, 12 Nov 2009 18:09:52 +0000 (UTC) (envelope-from it@hastigasht.com) Received: from gateway09.websitewelcome.com (gateway09.websitewelcome.com [67.18.52.11]) by mx1.freebsd.org (Postfix) with SMTP id 4DE7F8FC18 for ; Thu, 12 Nov 2009 18:09:51 +0000 (UTC) Received: (qmail 29185 invoked from network); 12 Nov 2009 18:23:07 -0000 Received: from integra.websitewelcome.com (67.18.3.194) by gateway09.websitewelcome.com with SMTP; 12 Nov 2009 18:23:07 -0000 Received: from [79.127.25.15] (port=4760 helo=nima) by integra.websitewelcome.com with esmtpa (Exim 4.69) (envelope-from ) id 1N8e7D-00016s-1C for freebsd-ipfw@freebsd.org; Thu, 12 Nov 2009 12:09:51 -0600 From: "Nima Mohammadi" To: Date: Thu, 12 Nov 2009 21:39:07 +0330 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcpiAvAApWC/GGCJQyiEJp66dkQHoQBv0vHAAAA9OcA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - integra.websitewelcome.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hastigasht.com Message-Id: <20091112180952.8BCEC106566B@hub.freebsd.org> X-Mailman-Approved-At: Thu, 12 Nov 2009 18:14:00 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FW: HELP ME X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 18:09:52 -0000 Hi Me again Sorry my good friend . I can`t config my ipfw very well . If you can send a sample ipfw config which is works fine you will give me a great help. Sample config with this type of pipe rule , and my ipfw deny everythin by default. $cmdfw pipe 30 config mask dst-ip 0x000000ff bw 1024Kbit/s queue 10KBytes $cmdfw pipe 31 config mask src-ip 0x000000ff bw 256Kbit/s queue 10KBytes $cmdfw add 1100 pipe 30 all from any to 192.168.6.0/24 in via $ext_if1 $cmdfw add 900 pipe 31 all from 192.168.6.0/24 to any out via $ext_if1 $cmdfw add 1000 divert natd ip from any to any via $ext_if1 Thanx a lot Regard