add variable support
This commit is contained in:
parent
71c3dccba9
commit
2bc5194d1f
2 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,10 @@
|
|||
|
||||
flush ruleset
|
||||
|
||||
{% for i in firewall.vars %}
|
||||
define {{ i }} = { {{ firewall.vars[i]|join(', ') }} }
|
||||
{% endfor %}
|
||||
|
||||
table inet filter {
|
||||
chain input {
|
||||
type filter hook input priority 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue