|
|||||||||||
|
Re: pfctl : recursive parsing of groups
From: Dries Schellekens <gwyllion(at)ace.ulyssis.org>
Date: Mon Mar 31 2003 - 04:39:49 EST On Sun, 30 Mar 2003, Stephen Samuel wrote: > for pfctl's parsing of pf and nat rules, a grouping is currently
In 3.3 the , will be optional. From pf.conf(5)
ifspec = ( [ ! ] interface-name ) | { interface-list }
interface-list = [ ! ] interface-name [ [ , ] interface-list ]
There's also a new example how to use macros:
MACROS
For example,
ext_if = "kue0"
all_ifs = "{" $ext_if lo0 "}"
pass out on $ext_if from any to any keep state
pass in on $ext_if proto tcp from any to any port 25 keep state
> The reason for this is that I ran into a situation where I
If you define your macros like this
ext = "xl0"
block in log on { $int $ext } proto udp from any port 2002 to any port 2002 I guess your problem is already fixed in 3.3. Cheers, Dries -- Dries Schellekens email: gwyllion@ulyssis.orgReceived on Mon Mar 31 04:40:22 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:53 EDT |
||||||||||
|
|||||||||||