Hi,
Is the :
considered a table or a macro?
Sincerely,
Brendhan
Is the :
Code:
icmp_types = "{ echoreq, unreach }" # allow ping
Sincerely,
Brendhan
icmp_types = "{ echoreq, unreach }" # allow ping
vand777 said:It is a macro.
Some information about tables: http://www.openbsd.org/faq/pf/tables.html. This FAQ helped me some time ago when I was learning PF.
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