Date: Wed, 20 Jul 2022 12:59:17 +0300 From: Oleksandr Kryvulia <shuriku@shurik.kiev.ua> To: pf@freebsd.org Subject: Re: updating "self" in RELENG_13 Message-ID: <adc8e9ab-a6b4-c00d-8064-1321cbcd994f@shurik.kiev.ua> In-Reply-To: <20220720095516.ojesxrxt2lfietez@tilda.center> References: <7126c3de-2eab-733a-863d-0a38c409919e@sentex.net> <5e97f42c-6099-7556-f440-39d549fcbfeb@shurik.kiev.ua> <20220720095516.ojesxrxt2lfietez@tilda.center>
next in thread | previous in thread | raw e-mail | index | archive | help
20.07.22 12:55, Goran Mekić пише: > On Wed, Jul 20, 2022 at 10:08:47AM +0300, Oleksandr Kryvulia wrote: >> Hi, using interface groups instead makes sense for you? > Hello, > > I couldn't find the syntax for groups in PF. What is the proper way to > rewrite, for example, the following using group (maybe name it egress to > resemble OpenBSD?): > > ext_if = "re0" > nat on $ext_if inet from 192.168.0.0/24 to any -> ($ext_if) ifconfig re0 group ext_if then in pf.conf: nat on ext_if inet from 192.168.0.0/24 to any -> (ext_if)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?adc8e9ab-a6b4-c00d-8064-1321cbcd994f>