From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 08:37:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D3A10656B5 for ; Mon, 15 Jun 2009 08:37:36 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6178FC1F for ; Mon, 15 Jun 2009 08:37:36 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MG7h9-0002jN-Sm for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 08:37:35 +0000 Received: from pool-72-75-56-147.washdc.east.verizon.net ([72.75.56.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jun 2009 08:37:35 +0000 Received: from nightrecon by pool-72-75-56-147.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jun 2009 08:37:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 15 Jun 2009 04:39:08 -0400 Lines: 30 Message-ID: References: <200906151144.34054.subbsd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-56-147.washdc.east.verizon.net Sender: news Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 08:37:37 -0000 subbsd wrote: > Hello maillist, > > Whether there is a way for booting GENERIC kernel with > ipfw_load="YES" > > and > > 65535 allow ip from any to any > > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? > > This is single options who force me customize my own kernel with freebsd- > update. > In your /etc/rc.conf: firewall_enable="YES" # Set to YES to enable firewall functionality In addition to the above to activate include this below: firewall_type="open" IIRC that should do what you need. There is a list of the types and their function commented in the /etc/rc.firewall script. -Mike