From owner-freebsd-questions@freebsd.org Sun Apr 11 23:15:23 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F3FF5E2699 for ; Sun, 11 Apr 2021 23:15:23 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from hermes.heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJSQJ6gCXz4l0m for ; Sun, 11 Apr 2021 23:15:19 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 13BNDgxG000358 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 12 Apr 2021 09:13:42 +1000 (AEST) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1618182822; x=1618787623; bh=py9WLcHj31RdkkAkoHe++eX3JY/i2ruL0q+HD2a/q1c=; h=Subject:To:From:Message-ID:Date; b=LhSwR+TS/w5xhlm5DHXxWcvJNPbdwGuEltN0P0SiUAXIwO0eM6GO56Jvx9JfI6eFM aF14SFG92PEzUN5ZA3mWdlwJC7wMB5wuOvhILfmHOCBL2s9vpfAeubxNvw8QAipS6P 9Se06fcvp5ut8C25AHSfLtiT+e+eAW8EL/flFRSYOrBKHk5XzYbN5 X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Subject: Re: pf or ipfw for NAT To: Frank Leonhardt , freebsd-questions@freebsd.org References: <50dcf18d-f9c3-71c2-abb0-eed8f1b5e192@fjl.co.uk> <20210402210356.637a3ed714957fb9c5fdfa3a@sohara.org> <1ff607ca-79cc-3072-831c-54659920e9dc@fjl.co.uk> <20210403092058.97c46ba70579026e9bd929a1@sohara.org> <3c99a18b-a8c6-acb6-bf4c-03e4783cab88@fjl.co.uk> From: Dewayne Geraghty Message-ID: <15b7d9be-aec3-e2c7-ee80-8da7960eb9c4@heuristicsystems.com.au> Date: Mon, 12 Apr 2021 09:12:21 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <3c99a18b-a8c6-acb6-bf4c-03e4783cab88@fjl.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FJSQJ6gCXz4l0m X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=LhSwR+TS; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Spamd-Result: default: False [-4.12 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[heuristicsystems.com.au]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.924]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2021 23:15:23 -0000 On 12/04/2021 4:21 am, Frank Leonhardt wrote: ... > I think so too. I set it and it works perfectly. I'm really wondering > why I've bothered with natd - just using pf works a treat. > You probably missed the creation of nat functionality in the kernel, via options LIBALIAS options IPFIREWALL_NAT ;)