From owner-freebsd-questions@freebsd.org Wed Dec 7 22:11:43 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 7493CC6CBE6 for ; Wed, 7 Dec 2016 22:11:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE275D58 for ; Wed, 7 Dec 2016 22:11:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Wed, 07 Dec 2016 23:13:11 +0100 Received: from r56.edvax.de (port-92-195-28-64.dynamic.qsc.de [92.195.28.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 15A7F3CBF9; Wed, 7 Dec 2016 23:10:47 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id uB7MAkkm069506; Wed, 7 Dec 2016 23:10:46 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 7 Dec 2016 23:10:46 +0100 From: Polytropon To: Warren Block Cc: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Subject: Re: FreeBSD Firewalls Message-Id: <20161207231046.504c2a61.freebsd@edvax.de> In-Reply-To: References: <5bed7716cd0c9f56e7fe73e86d0cde45.squirrel@webmail.harte-lyne.ca> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with BA3226A3563 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.2528 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 22:11:43 -0000 On Wed, 7 Dec 2016 14:55:34 -0700 (MST), Warren Block wrote: > 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 depending on _how_ you ask: For simple and "static" concepts, IPFW is the typical suggestion, while more advanced and extended firewalls setups lead to PF as a recommendation. But of course it's not that one of the firewalls cannot be used for the other "contradicting" purpose... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...