From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 18:07:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 247ED16A403 for ; Tue, 26 Sep 2006 18:07:22 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id B015343D5D for ; Tue, 26 Sep 2006 18:07:21 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from [10.155.100.8] (82.53.161.43) by vsmtp4.tin.it (7.2.072.1) (authenticated as vdemart1@tin.it) id 450A852C00D47496 for freebsd-questions@freebsd.org; Tue, 26 Sep 2006 20:07:19 +0200 From: vittorio To: freebsd-questions@freebsd.org Date: Tue, 26 Sep 2006 20:07:15 +0000 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609262007.15800.vdemart1@tin.it> Subject: ipfw, ftp and wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 18:07:22 -0000 I'm using ipfw as firewall. What rules should I add to use both wget and ftp from my box only towards the internet through my iwi0? (I found the following lines for ftp but they don't seem to work: .............................................................. ipfw add 45 allow tcp from any to any 21 in setup keep-state ipfw add 46 allow udp from any to any 21 in setup keep-state) Vittorio