From owner-freebsd-questions@freebsd.org Sat May 25 16:48:50 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3683415B0896; Sat, 25 May 2019 16:48:50 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4379B7725B; Sat, 25 May 2019 16:48:49 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 10800138A7; Sat, 25 May 2019 16:48:49 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [100.80.118.181] (unknown [188.188.217.82]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 973DF24108; Sat, 25 May 2019 18:48:46 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: passthru ethernet interface From: Kristof Provost X-Mailer: iPhone Mail (16F156) In-Reply-To: <20190522025324.GA7121@doctor.nl2k.ab.ca> Date: Sat, 25 May 2019 18:48:44 +0200 Cc: freebsd-questions@freebsd.org, freebsd-pf@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6D6322F8-1D5C-4B64-BF6E-0758A3315B25@FreeBSD.org> References: <20190522025324.GA7121@doctor.nl2k.ab.ca> To: The Doctor X-Rspamd-Queue-Id: 4379B7725B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2019 16:48:50 -0000 > On 22 May 2019, at 04:53, The Doctor via freebsd-questions wrote: >=20 > How do I set up in /etc/rc.conf an eth1 that will > attach ifself to the back of the router in my packet filtering (pf) box, > namely the $ext_if ? >=20 You want to set a macro in your pf.conf, as documented in its man page.=20 =E2=80=94=20 Kristof=