From owner-freebsd-questions@FreeBSD.ORG Sun Apr 28 02:32:33 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 052C55CC for ; Sun, 28 Apr 2013 02:32:33 +0000 (UTC) (envelope-from am@meschnet.de) Received: from outmail149056.authsmtp.com (outmail149056.authsmtp.com [62.13.149.56]) by mx1.freebsd.org (Postfix) with ESMTP id AFBF1148A for ; Sun, 28 Apr 2013 02:32:31 +0000 (UTC) Received: from mail-c232.authsmtp.com (mail-c232.authsmtp.com [62.13.128.232]) by punt10.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r3S1V3lr061858; Sun, 28 Apr 2013 02:31:03 +0100 (BST) Received: from zeus.meschnet.de (p4FD4B9CF.dip0.t-ipconnect.de [79.212.185.207]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r3S1V1BM068153; Sun, 28 Apr 2013 02:31:02 +0100 (BST) Received: from zeus.meschnet.de (localhost [127.0.0.1]) by zeus.meschnet.de (Postfix) with ESMTP id 01C8313685A; Sun, 28 Apr 2013 03:30:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at meschnet.de Received: from zeus.meschnet.de ([127.0.0.1]) by zeus.meschnet.de (zeus.meschnet.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jbOydy1_W99M; Sun, 28 Apr 2013 03:30:55 +0200 (CEST) Received: from [192.168.1.80] (odysseus.meschnet.de [192.168.1.80]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zeus.meschnet.de (Postfix) with ESMTPSA id B58D2136859; Sun, 28 Apr 2013 03:30:55 +0200 (CEST) Message-ID: <517C7BCB.1000708@meschnet.de> Date: Sun, 28 Apr 2013 03:30:51 +0200 From: Andreas Mueller User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: loading ipfw at boot time References: <517C7A2E.5040807@a1poweruser.com> In-Reply-To: <517C7A2E.5040807@a1poweruser.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: 4994f51b-afa3-11e2-b10b-0025903375e2 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2YwARClZcSSwf BzgPDClNVUMpKwtJ HBsfLBNeLRpTFBIL YgFzNkAUagVFHhkB AWwIWl5UUhN2UH13 aghPbA1YfEhOWBpo VVdJDBBRdwQOAG58 BhgWUxxxOQFFfHY+ YU9rWiZeXRZnJBAs QVNVFDgEeDVhaDIC UEBacgpUcwBNe0pH JDIqXmNRPjRTPyQ3 Vw4rMS95NCkXIiNS XkkRLFcfKRoI X-Authentic-SMTP: 61633533383439.1019:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 79.212.185.207/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. Cc: fbsd8@a1poweruser.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 02:32:33 -0000 Hello there. > 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? Not using ipfw by myself, but according to the handbook, the modules are loaded automatically, when editing rc.conf to load the firewall: Quote: ------------------------------------------------------------------------ IPFW is included in the basic FreeBSD install as a run time loadable module. The system will dynamically load the kernel module when rc.conf contains the statement firewall_enable="YES". After rebooting the system, the following white highlighted message is displayed on the screen as part of the boot process: ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled ------------------------------------------------------------------------ Source: http://www.freebsd.org/doc/handbook/firewalls-ipfw.html Greets, Andreas