From owner-freebsd-questions@freebsd.org Thu Dec 8 09:03:57 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 78F31C6D4D5 for ; Thu, 8 Dec 2016 09:03:57 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wj0-x241.google.com (mail-wj0-x241.google.com [IPv6:2a00:1450:400c:c01::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AC3FBA2 for ; Thu, 8 Dec 2016 09:03:57 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wj0-x241.google.com with SMTP id xy5so53411556wjc.1 for ; Thu, 08 Dec 2016 01:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HYoAnvut03zHmTMABXZ2YVesHjAbDWpXN0IlRrAvvEs=; b=vTOzhRWWR8SHhd8zJaivzrsfINYkDVWb/Hn5hvGnH5Y7jmZEbZb7CrO3WobukaTXxf oMQCqtNMCgbKqb6+u5PnnOrd0FWgCrgFpwtBMkq2zGurFpk1jeF/+buWEoZfHHKpqI27 svK0dZS/jbQutQGV4F2cDHjM3PqTDSwaLprAIvxHd64/NExiWq8SxmHVcGVArmyPFUIR I9iVx29pZ7zGsVjPo8YU6y1/BE1c+8hU8lDh3nRwEEWopws5w7AH7mt4SGTC6zp02dC/ KMB+ddr8N4slO+IHwYYu3wsLu4kdXre6ITH6RbTeioaM/NFEU7HaOt2ygS5Vj2FxBO1X h67Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=HYoAnvut03zHmTMABXZ2YVesHjAbDWpXN0IlRrAvvEs=; b=Htfkva1sTDjbVp8Jt0sXlfDGTlLyxbvMy9Os92ZhChISEXkzTr/+CqJgrA1BtSWcMi WJ3D8eQGpDJaRCM7xJ3WNyEhvFf1Ju+pdjfWoxfgMUR6yMNLxbteZm9OooOB/SRgTJe/ vLqyU9iUDgaJ5IVpEMoe9XSOMuM9uKYoUW5fmGxzQd/NekH6UZGwEeBYHbXkFvvLVxJ2 UQ35cQri7KoMHgcZh9Vg8wFy1i4c2vVUxHg76qM9Vomi3qVota4GsISALO8yfJQOlvmC c9T7GX0jU6hW8gv4w/wmfAjs1wKikPdHpWv1LfFBUpHY8tKbqLp4mQkpJooB8/f1qHDZ xAgQ== X-Gm-Message-State: AKaTC01Y7RoYk9uQNVRI8jGcgYOqjARqAQP0BYCyQCrc2rniW0tGErPMyEQr/e2U/5ZxeA== X-Received: by 10.194.90.135 with SMTP id bw7mr60970551wjb.34.1481187835571; Thu, 08 Dec 2016 01:03:55 -0800 (PST) Received: from gmail.com (tao.xtaz.uk. [2001:8b0:fe33::10]) by smtp.gmail.com with ESMTPSA id i132sm14067136wmf.14.2016.12.08.01.03.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Dec 2016 01:03:55 -0800 (PST) Date: Thu, 8 Dec 2016 09:03:53 +0000 From: Matt Smith To: Warren Block Cc: Polytropon , byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Subject: Re: FreeBSD Firewalls Message-ID: <20161208090353.GD2691@gmail.com> Mail-Followup-To: Matt Smith , Warren Block , Polytropon , byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org References: <5bed7716cd0c9f56e7fe73e86d0cde45.squirrel@webmail.harte-lyne.ca> <20161207231046.504c2a61.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) 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: Thu, 08 Dec 2016 09:03:57 -0000 On Dec 07 17:23, Warren Block wrote: > >For me, it was that PF was easier to configure, certainly for simple >things. I'm told IPFW has improved since then, and NAT is now better. I've always used IPFW, see no reason to change to something else. But yes NAT is now a lot better. It moved to in-kernel NAT and the syntax that I now use is like this: ipfw nat 1 config if re0 same_ports ipfw add nat 1 ip4 from not me to any out via re0 ipfw add nat 1 ip4 from any to me in via re0 -- Matt