Hello I have a box with OpenBSD 3.8 and packet filter

I have these questions about syntax of pf:

1.-  May I use this syntax:
table <serial_1>    { 10.1.1.0/24 }
table <serial_2>    { 10.2.1.0/24 }
table <serial_3>    { 10.3.1.0/24 }
router_one          =  "192.168.1.1"

and then
group_ping         =  "{" $router_one <serial_1> <serial_2> <serial_3> "}"

Is posible the syntax to mix macros an tables? and if is possible the syntax that i used is right or wrong? or what is the rigsht syntax ?

2.- If I have to join these range networks:
10.10.151.0 to 10.10.190.255
can I use the following syntax?:
table <nets> { 10.10.150-190 }    # like qmail tcp.smtp file sintax

I know that I can use these 2 syntax but i dont want to use them if the first one will work table <nets> { 10.10.128.0/18 } # will work fine but the range will be more than i wish
or
table <nets> { 10.10.150.0/24, 10.10.151.0/24, .....} # one by one but will be a huge table

thanks in advance

Mario

Reply via email to