Quote:
Originally Posted by RudiK
Also, When I implement the rule set and use pfctl -s rules the macro is not expanded?
# pfctl -sr
pass out quick on tun0 inet proto udp from 196.2.19.32 to any port 28960:29000 keep state queue q_cod
pass in quick on tun0 inet proto udp from any to 196.2.19.32 port 28960:29000 keep state queue q_cod
|
Those are expanded macros.
cod_ports = "{28960:29000}" + port $cod_ports =
port 28960:29000
( using macros doesn't always mean shorter syntax
)