ansible-playbooks/network/files/firewall_rules.nft.j2
2024-06-27 23:18:04 +02:00

11 lines
205 B
Django/Jinja

## This file is managed by Ansible
#!/usr/sbin/nft
table inet filter {
chain input {
tcp dport 22 accept
{%- for port in ALLOWED_PORTS %}
tcp dport {{ port }} accept
{%- endfor %}
}
}