From owner-freebsd-questions@freebsd.org Wed Dec 7 21:55:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F26B1C6C851 for ; Wed, 7 Dec 2016 21:55:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C3A2FFA for ; Wed, 7 Dec 2016 21:55:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id uB7LtYCM081380 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 7 Dec 2016 14:55:34 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id uB7LtYNX081377; Wed, 7 Dec 2016 14:55:34 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 7 Dec 2016 14:55:34 -0700 (MST) From: Warren Block To: byrnejb@harte-lyne.ca cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Firewalls In-Reply-To: <5bed7716cd0c9f56e7fe73e86d0cde45.squirrel@webmail.harte-lyne.ca> Message-ID: References: <5bed7716cd0c9f56e7fe73e86d0cde45.squirrel@webmail.harte-lyne.ca> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.1 (wonkity.com [127.0.0.1]); Wed, 07 Dec 2016 14:55:34 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 21:55:43 -0000 On Wed, 7 Dec 2016, James B. Byrne via freebsd-questions wrote: > Well, the setup and loading of Postgresql9.6 seems to have completed > successfully. Now, before this can go live I need to set up the > firewall. I am used to IPTables on CentOS but have no experience with > IPFilter or PF. > > First, which firewall, of the three I read are available (IPFW, > IPFilter and PF is the recommended choice? Either PF or IPFW, depending on who you ask. Or, if you work for Juniper, IPF. I used IPFW for many years, now have used PF for many years. > Which of them, if any, have FW for dummies like tools/guides? Peter Hansteen has at least one famous book on PF. There are example IPFW firewalls in /etc/rc.firewall, too.