12 lines
No EOL
225 B
Django/Jinja
12 lines
No EOL
225 B
Django/Jinja
# This file is managed by Saltstack. (State {{ STATE }})
|
|
|
|
#!/usr/sbin/nft
|
|
|
|
table inet filter {
|
|
chain input {
|
|
tcp dport 22 accept
|
|
{% for port in ALLOWED_PORTS %}
|
|
tcp dport {{ port }} accept
|
|
{% endfor %}
|
|
}
|
|
} |