Some basic pf questions

Hi,

Is the :
Code:
icmp_types = "{ echoreq, unreach }"  # allow ping
considered a table or a macro?

Sincerely,
Brendhan
 
It's mentioned in pf.conf(5):
Code:
MACROS
     Macros can be defined that will later be expanded in context.  Macro
     names must start with a letter, and may contain letters, digits and
     underscores.  Macro names may not be reserved words (for example pass,
     in, out).  Macros are not expanded inside quotes.

     For example,

           ext_if = "kue0"
           [b]all_ifs = "{" $ext_if lo0 "}"[/b]
           pass out on $ext_if from any to any
           pass in  on $ext_if proto tcp from any to any port 25
 
Back
Top