Re: updating "self" in RELENG_13
- In reply to: Goran Mekić : "Re: updating "self" in RELENG_13"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Jul 2022 09:59:17 UTC
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)