From owner-freebsd-questions@FreeBSD.ORG Sun Apr 28 18:56:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F1CE77E0 for ; Sun, 28 Apr 2013 18:56:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id BBF0C1147 for ; Sun, 28 Apr 2013 18:56:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-233.dynamic.qsc.de [92.195.26.233]) by mx01.qsc.de (Postfix) with ESMTP id 935FC3EA89; Sun, 28 Apr 2013 20:56:38 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3SIulk9002032; Sun, 28 Apr 2013 20:56:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 28 Apr 2013 20:56:47 +0200 From: Polytropon To: Joe Subject: Re: loading ipfw at boot time Message-Id: <20130428205647.002fe73a.freebsd@edvax.de> In-Reply-To: <517C7A2E.5040807@a1poweruser.com> References: <517C7A2E.5040807@a1poweruser.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 18:56:47 -0000 On Sat, 27 Apr 2013 21:23:58 -0400, Joe wrote: > I know ipfw can be loaded at boot time by adding statements to > /boot/loader.conf. > > Problem is I dont know what the ipfw module names are. > > How do I find the ipfw names to use? There are two ways. The first is to do a "ls" command in /boot/kernel to see the modules related to ipfw: /boot/kernel/ipfw.ko /boot/kernel/ipfw_nat.ko According to the rule (see "man loader.conf" for details) of how modules are enabled, the corresponding statements for /boot/loader.conf would be: ipfw_load="YES" ipfw_nat_load="YES" Note that the ipfw_nat module is only needed if you're going to use NAT functionality. The second way is to check /boot/defaults/loader.conf for related statements. It contains this line: ipfw_load="NO" # Firewall Is this what you've been searching for, or did I misunderstand your question? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...